jMaps

This example shows you how easily jQuery + jMaps makes adding a Geo feed.

Google GeoXML and KML allows you to add a feed of points to a map.

Example: Add a GeoFeed.

Add Feed | Remove Feed

                        
jQuery(document).ready(function(){
	jQuery('#map1').jmap('init', {'mapType':G_HYBRID_MAP,'mapCenter':[55.958639, -3.162516]});
	
	jQuery('.add-feed').click(function(){
		jQuery('#map1').jmap('AddFeed', {
			'feedUrl':'http://api.flickr.com/services/feeds/geo/?id=84656963@N00&lang=en-us&format=rss_200'
		}, function(feed, options){
			jQuery('.remove-feed').click(function(){
				jQuery('#map1').jmap('RemoveFeed', feed);
			})
		});
	});
});