Stories
Slash Boxes
Comments

In+ersec+ion for Spatial People

Mapstraction Adds Support for OpenLayers

posted by Satri on Thursday November 01, @11:50AM   Printer-friendly   Email story  Permalink  Trackback URI  Slashdotthis  Diggthis  Del.icio.us
from the one-API-to-bind-them-and-in-the-darkness-map-them dept.
The High Earth Orbit blog informs us Mapstraction now supports OpenLayers. What's Mapstraction? From this previous story: "Mapstraction is a library which provides a common API for Google, Yahoo! and Microsoft's javascript mapping APIs to enable switching from one to another as smoothly as possible." From the HEO entry: "Why wrap one wrapper in another? At conferences and get togethers, the devs and users of Mapstraction and OpenLayers frequently ask the question “What’s the difference between Mapstraction and OpenLayers?” The primary distinction between the libraries is a difference in objective. Mapstraction seeks to provide a simple wrapper to meet the primary needs of a mapping user. The purpose being to make it easy for a user to read a single API and then easily switch to any of the major providers. [...] With this new support, it now brings Mapstraction up to 9 supported map interfaces (Yahoo, Google, Microsoft, Map24, MultiMap, MapQuest, FreeEarth, OpenLayers, OpenStreetMap)."

Related Stories

Mapstraction - Bringing Mapping APIs Together [+]
The OpenGeoData blog made me aware of Mapstraction. The full introduction from the website: "Mapstraction is a library which provides a common API for Google, Yahoo! and Microsoft's javascript mapping APIs to enable switching from one to another as smoothly as possible. The aim of Mapstraction in mainly to protect companies building commercial products on top of Google Maps from changes to terms and conditions, the introduction of ads, or the emergence of a competing library with better maps, different imagery or preferable licensing terms. Mapstraction additionally fills some holes each provider's current offerings (taking advantage of existing open source solutions where possible) to normalise the feature set across platforms. In the future, Mapstraction will also talk to OpenStreetMap for people who want to build maps without restrictions on derived works."
Industry: Webmapping API Licenses and Data Access 2 comments [+]
All Points Blog offers an clear and to-the-point entry on the relationship between data and API licenses for webmapping apps, specifically Google, Microsoft, Yahoo! data into other webmapping apps such as OpenLayers. Meanwhile, The Earth is Square wonders if a workaround could revive a NASA World Wind plugin to access Google Maps data. From APB: "I had in my head that somehow OpenLayers was "doing something wrong" since it could pull in data sets from Google, Microsoft, Yahoo, MultiMap into its own interface (go play with that!). With quite a bit of patience Frank explained that OpenLayer is doing everything correctly. It has an API key for each of the API providers (if needed) and follows all the rules of the license. So, how is this different from the Gaia team noted above that got shut down? That group was accessing the data directly from Google servers and not, as stipulated in the license, via Google software. (Google Earth has no API like Google Maps does.) Frank even showed me the code where OpenLayers dutifully uses its API key to pull in tiles from Google Maps. Google, he noted, even contacted the MetaCarta team to ask if there was any thing needed to further their implementation!"
Comparison Of Three Public Mapping Javascript APIs [+]
On his blog Niall Kennedy, compares three publicly available mapping APIs and demonstrates that "Yahoo! offered the fastest performance, the smallest total download, and the smallest memory footprint." Update: 08/08 21:01 GMT by S : All Points Blog adds a recent post on the Google Maps API vs Yahoo! Maps API.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.