Using Google, Microsoft, And Yahoo APIs To Create MashupsUsing Google, Microsoft, And Yahoo APIs To Create Mashups
It's easy to combine maps and other data in hybrid Web applications
Application programming interfaces are what make location mashups easy to build. Google, Microsoft, and Yahoo each have APIs that developers can use to overlay virtually any kind of information on a map.
Yahoo offers Ajax and Flash versions of its APIs, and Yahoo was one of first of the big portals to embrace GeoRSS, an extension of the RSS standard that supports geographic data feeds. "We have exposed many of the raw materials needed for creating a mapping application on virtually any platform," including TVs and cell phones, says Jeremy Kreitler, director of Yahoo Maps.
If you're building an application that plots store locations on a map, Yahoo's Developers Network can help determine which APIs are best suited for the job. Yahoo also has an "application gallery" that showcases applications and mashups created using its mapping APIs. There's more to mashups than mapping, of course. Yahoo last year introduced APIs for building custom programs with its photo, calendar, shopping, and bookmark tools, too.
Microsoft provides mashup developers with visualization tools and geospatial Web services. Microsoft's Live Search Maps (maps.live.com) is a search and mapping site based on Microsoft Virtual Earth where people can get maps and directions, search for businesses and people, and create and share their collections or mashups.
Virtual Earth combines mapping and location Web services with aerial and satellite imagery. The two-dimensional portion of Virtual Earth allows for panning (moving left to right) and zooming into (magnifying) maps and imagery and scoping (defining boundaries) of search results within a map view.
Developers can embed Microsoft map controls into their sites with a few lines of JavaScript and "be up and running with mapping in minutes," says Alex Daley, lead marketing manager for Microsoft's Virtual Earth business unit. The mapping and location services are only some of the mashup technology available, Daley says.
Google's Maps API can be used by developers to embed Google Maps in Web pages, draw markers and lines on those maps, and build sophisticated location-injected applications. Features in version 2 of the API (released last year) include two additional satellite zoom levels, custom map controls, and a debugging log. The Maps API's JavaScript file is about half the size of the previous version, which improves the user experience on a Web site.
Google, Microsoft, and Yahoo don't charge for use of their maps, but they require developers to adhere to strict terms and conditions. Maps that identify where people can buy illegal drugs or engage in other illegal activity are prohibited. Google also insists its API shouldn't be used to expose private information. If the terms and conditions are violated, Google has the right to suspend or terminate the mashup service.
Return to the story:
Maps Meet Mashups
Continue to the sidebar:
GPS Mashups Are Going Nowhere
About the Author
You May Also Like