The key thing about Mapstraction is that youÃÂ can switch APIs with only one line of code.ÃÂ If your business depends on Google Maps then you should already be doing this, but it also seems like a natural thing to open source.ÃÂ (UK property search engine Nestoria agreed, andÃÂ funded the initial development).ÃÂ It's already in use in GeoPress, for embedding maps in Wordpress blog posts, and Phil recently used it to add maps to Pepys' Diary.
We hope to keep Mapstraction as a lightweight layer to make porting it to any future APIs as simple as possible.ÃÂ It also offers us the chance to normalise the functionality offered by different libraries, for example we offered a polyline implementation for Yahoo Maps before the functionality officially launched, and we intend to allow a choice of geo-coders for postcode and place-name lookup rather than be tied to the geocoder of your current API provider.
It's worth noting that other people are offering similar things (and more), most notably OpenLayers which offers a completeÃÂ tiled "slippy" map implementation to make using with your own (or a third-party's)ÃÂ WMS (Web Map Server) as easy as possible.