Mapping Hacks

by Schuyler Erle, Rich Gibson and Jo Walsh

« on Being in a Foundation Where’s the sense of direction? »

Web Map API Roundup

April 7th, 2006 by Schuyler

Yesterday, Tim O’Reilly emailed us to ask the following:

Any thoughts about the relative openness and hacker-friendliness of the Google Maps API vs. the Yahoo! or Microsoft APIs?

My response ran something like this:

Early on — i.e. last summer — there was a huge gap between Google Maps and the rest. In particular, Google offered a JavaScript API, which offered wide latitude for controlling most aspects of the map, whereas Yahoo! only offered a web service, in essence, that consumed w3c-style GeoRSS and displayed a bunch of markers. This meant that hackers were able to build actual applications on top of GMaps, in contrast to the very limited functionality by Y! Maps.

Today, the picture is very different. The big three — Google, Yahoo!, and MSN Virtual Earth — have basically converged, and their map display APIs look more or less alike, implementation details aside. Each offers a way to display a map on a web page using JavaScript, to control the geographic extents and scale of the map, add markers to that map, and to trigger various actions based on a flexible user interaction event model.

If anything, Google could be said to be falling behind a bit after their astonishing early lead. Their recently announced version 2 API is a sensible refinement of their original API, but fails to introduce anything particularly novel. One thing that they have done, I think in response to the mashups they’ve seen, is add a new overlay class to their API that makes it enormously easier to add custom display elements to a map — something that has historically required significant hacking — but this is a pretty subtle feature that many developers may not pick up on.

By contrast, Y! may be less sensitive to the subtleties of map mashups, but they have charged ahead and tried to offer web services for things that Google has been unwilling or unable to touch — examples include Flash map APIs in JavaScript and ActionScript, and REST services for geocoding, map image delivery, traffic reporting, and so on. Although their APIs are far less elegant than Google’s, they really do offer a lot more functionality. The fact that Flickr hired Dan Catt (of Geobloggers fame) — a Google Maps Hacks contributor — plainly suggests that they have the bigger picture in mind, in terms of integration across vertical services.

Just to round out the review, MSN (or Windows Live as they might now be called), have done the very Microsoft thing by keeping in step with their competitors, but without adding anything really innovative. Granted, the user interface for Windows Live Local is the best of the bunch, but that says nothing about ‘hackability’ per se. Their Bird’s Eye View imagery really is a bit of a quantum leap in terms of 2-D map display on the Web, but that’s the kind of thing that demands money to implement, more than it does imagination. Finding the docs for the Virtual Earth API is bit challenging, as they’re buried in MSDN. Also, they’ve gone and done a strange thing in v2 of their API, by requiring developers to import the Atlas compatibility layer to make MSN VE maps work outside of IE. (Atlas is Microsoft’s bloated answer to prototype.js.) Finally, of course, Microsoft can be expected not to go and open up geocoding or map imagery APIs any time soon, since they’re busy trying to sell these services via their MapPoint unit.

Summary: Hackers still love Google, as they always have, and Google Maps continues to demonstrate a sensitivity to their sensibilities. With the addition of their JavaScript and particularly their REST APIs, Yahoo offers more in terms of hackability, but we still haven’t seen much in the way of uptake — one presumes this is because of the popular conception of Yahoo. Similarly, MSN offers a map API that is solid but not uniquely compelling, all the less so because of the non-commercial use limitation required to keep it competing from MapPoint.

Some questions about these map APIs linger, of course. Traditionally, the licenses for the commercial data sets that these services use operate on a per-transaction basis — where a ‘transaction’ is defined more or less as anything that makes the map view change. If you pan a few pixels and a new map tile loads, that’s a map transaction, as far as the data providers are concerned. Are Google and Y! going to be able to continue subsidizing the enormous license fees they must logically be paying to the likes of TeleAtlas and Navteq as an ancillary expense to their advertising businesses? Or are they going to have to make the revenue generation from maps and local search more explicit, perhaps by putting ads on the maps? Insofar as maps reflect our view of reality, putting indelible ads on a map is a far cry from putting some ads in a box on the side of a web page.

(Of course, it’s worth pointing out that an anonymous Google employee observed to me last Where 2.0 that “if it turns out to be a problem, we can always just acquire the data provider.” Not the data, mind you, but the data provider.)

The one thing no one is offering quite yet is a clear view of the next stage of the game. At present, all that these map APIs offer is ultimately a way to put points on a map — what we’ve for years half-jokingly referred to as “red dot fever”. With the pre-rendered map layers offered by the Google/Y!/MSN services, we’re stuck with a limited range of map styles; with, in essence, the view of the world that these companies see fit to present. More to the point, where is the broader palette for telling new and different stories on the Web with maps? Where is the bidirectionality, the interactivity, the wiki nature? In this respect, I think I see in projects like OpenStreetMap and Community MapBuilder (to name just two) the embryonic beginnings of the next revolution in maps on the Web.

(I know Rich had some ruminations in response to Tim’s query, but I’ll leave it to him to post those here separately, if he has a mind to…)

Posted in services |

You can follow any responses to this entry through the RSS 2.0 feed. Trackback from your own site.


7 Responses to “Web Map API Roundup”

  1. Into The Pudding » Next steps for mashups Says:
    April 7th, 2006 at 11:41 am

    […] Just read Schuyler's thoughts on Web Map API's over at Mapping Hacks and he ends with a query about the next stage of the game for web mapping.  I'm pretty sure I know where he's going, which I'm planning on exploring fully here (been planning for awhile, but I'm still not giving up, I promise), but I had a few thoughts this week at this nice Location Intelligence Conference hosted by Directions Mag.   […]

  2. adamhill Says:
    April 7th, 2006 at 12:05 pm

    One ironic bit in the WorldWind community was that Google got very upset at our attempts to distribute a plugin to display their imagery in 3D. But the Virtual Earth team seemed more than happy to let us use theirs.

  3. (building . software) » Blog Archive » API vs API Says:
    April 8th, 2006 at 1:02 am

    […] Web Map API Roundup […]

  4. John Says:
    April 8th, 2006 at 4:52 am

    I thought the big API’s with crush the interest in my little Flash map, but instead I’m seeing a steady increase in downloads. I suspect it’s the simplicity and configurable style. For a tool without much detail, I suppose it hits a sweet spot between style and function: http://backspace.com/mapapp

  5. OpenGeoData » Blog Archive » Free Web Mapping APIs and Mapstraction Says:
    April 11th, 2006 at 8:35 am

    […] Looking at the common features of the mapping APIs, it’s clear that the bar is currently set quite low: it’s scrolling tile-based maps with map markers, folks. With tongue in cheek, Schuyler Erle refers to this as “red dot fever” (more context here, though I don’t know if that’s Schuyler’s writing or a like-minded collaborator). Numerous open source equivalents have emerged, but none has taken hold to my knowledge. This cements the general feeling among the responses to Tim O’Reilly’s open question about Google’s Mapping API dominance: Google Maps is actually very good, it was first to market, its maps look nicest, its terms and conditions are reasonable and as a developer it’s pretty easy to work with. It’s clear to us that OpenStreetMap has a lot of catching up to do, but it’s also become clear to me that Yahoo and Microsoft do too. I’m watching this space. […]

  6. OpenGeoData » Blog Archive » Google Maps vs Mapstraction, pt II Says:
    April 11th, 2006 at 9:48 am

    […] Tim O’Reilly recently asked the Mapping Hacks people, and others, why Google Maps was so much more popular than all the other APIs available. Schuyler pretty much nailed it, though after my Mapstraction research I think he’s too generous towards Yahoo and Microsoft. […]

  7. Comparing Mapping sites for Consumers and Develoeprs » Emad Fanous Says:
    April 17th, 2006 at 8:49 pm

    […] Schuyler put together a post evaluating the available APIs.              […]

Leave a Reply

You must be logged in to post a comment.


Entries (RSS) and Comments (RSS).