O'Reilly logo

Google Maps JavaScript API Cookbook by Balkan Uraz, Alper Dincer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding KML/GeoRSS layers

Keyhole Markup Language (KML) has been introduced in Google Earth, which was originally named Keyhole Earth Viewer before Google bought it. KML became an OGC standard in 2008. It is an XML notation for showing features in geo-enabled viewers. GeoRSS is also an emerging standard for sharing Earth features to show in geo-enabled viewers mostly used by web feeds or services. Both these standards can be consumable with the Google Maps JavaScript API.

In this recipe, dynamic services will be consumed via the Google Maps JavaScript API. We will use the U.S. Geological Survey (USGS) web services to show recent earthquakes on maps. These services are updated regularly to reflect recent events.

Getting ready

In this recipe, we will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required