Build Agnostic Map Mashups with Mapstraction

Andres Ferrate, July 3rd, 2008

MapstractionIf you’re getting ready to get create a map mashup, but you can’t quite decide on which mapping API to use, you may want to check out Mapstraction. Mapstraction is described as:

A library that provides a common API for various JavaScript mapping APIs to enable switching from one to another as smoothly as possible.

In essence, Mapstraction allows you to build a map mashup that is not bound to any one mapping API and its provider, such as Google, Microsoft, or Yahoo!. Why would you want to be “API-agnostic” when developing a map mashup? Well, in addition to giving your end users freedom in selecting which base map they see, you can also use Mapstraction to easily switch your map mashup to a different content provider should the terms of use change or if the service becomes unavailable.


mapstraction

At present Mapstraction provides support for APIs from the following nine providers:

That’s quite a list. In addition to being able to add GeoRSS and KML overlays to your maps, you can also do some geocoding and routing.

Check out our Mapstraction Profile for background on the API. You can check out all of the features that are available via the Mapstraction API documentation and there’s also a Wiki with additional information.

Some other things to note:

One of the corporate sponsors of Mapstraction is Nestoria, a property search engine in the UK and Spain which we profiled in our mashup case study last year.

Both comments and pings are currently closed.

5 Responses to “Build Agnostic Map Mashups with Mapstraction”

July 3rd, 2008
at 1:05 pm
Comment by: Andrew Turner

There are some good tutorials out there for getting started with Mapping using Mapstraction:

Get To Grips with Slippy Maps by Andrew Turner (me)

and more application focused:
Unobtrusively Mapping Microformats with jQuery by Simon Willison

July 3rd, 2008
at 2:03 pm
Comment by: seriouslytech » Blog Archive » Mapstraction Takes Map Mashups To A Whole New Level

[...] and then they could switch the mapping provider as necessary when their project’s needs changed. A ProgrammableWeb post points to another possibility, which is that Mapstraction allows for building a map where the end [...]

July 10th, 2008
at 3:20 am
Comment by: meipi » Blog Archive » Mapstraction: la meta API

[...] Programmable Web hablan de Mapstraction como la aplicación para agnósticos, en lo que a APIs se refiere: In essence, Mapstraction allows you to build a map mashup that is not [...]

May 28th, 2009
at 4:17 am
Comment by: Practice Abstract Maps with Mapstraction Sandbox

[...] multi-map JavaScript library Mapstraction (our Mapstraction API profile and earlier coverage) has added an API sandbox for trying out its many functions. The open source library sandbox is [...]

June 3rd, 2009
at 11:14 pm
Comment by: Practice Abstract Maps with Mapstraction Sandbox | Open Source Blog

[...] multi-map JavaScript library Mapstraction (our Mapstraction API profile and earlier coverage) has added an API sandbox for trying out its many functions. The open source library sandbox is [...]

Follow the PW team on Twitter

ProgrammableWeb
APIs, mashups and code. Because the world's your programmable oyster.

John Musser
Founder, ProgrammableWeb

Adam DuVander
Executive Editor, ProgrammableWeb. Author, Map Scripting 101. Lover, APIs.