Archive

Posts Tagged ‘KML’

KML support on Google Maps JS API v3

May 11th, 2010
Comments Off

Today Google Geo Developers Blog announced KML support for Google Maps JS API v3.

There is a new class kmlLayer which supports both KML and GeoRSS. The examples are as follows :

GeoRSS Example :

var georssLayer = new google.maps.KmlLayer('http://api.flickr.com/services/feeds/geo/?g=322338@N20〈=en-us&format=feed-georss');
georssLayer.setMap(map);

KML Example :

var ctaLayer = new google.maps.KmlLayer('http://gmaps-samples.googlecode.com/svn/trunk/ggeoxml/cta.kml');
ctaLayer.setMap(map);

There is also support for traffic and bicycling layers added at this version.

These are good signs to use V3 as new playground both for web and mobile applications.

GeoWeb , , , ,