Google Map from RSS Feed

Problem: Google had a nice feature to build google maps from rss geo information with a simple iframe tag, but this service is discontinued.

<iframe width="920" height="450" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" 
 src="https://maps.google.com/?q=http:%2F%2Ftothepin.blogspot.com%2Ffeeds%2Fposts%2Fdefault&amp;ie=UTF8&amp;t=t&amp;source=embed&amp;output=embed">
</iframe>

You could actually add ?q=rssfeed to the maps.google.com url and it produced a map from all geo data in this rss feed.

Solution: The new api for google maps is different but you can still do the same. Here some sample code:

<script src="//maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true"></script>
<script>
    function initialize() {
        var myLatlng = new google.maps.LatLng(48.2084900,16.3720800);
        var mapOptions = {zoom: 4, center: myLatlng }

        var map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);

        var georssLayer = new google.maps.KmlLayer({
            url: 'http://tothepin.blogspot.com/feeds/posts/default?alt=rss'
        });
        georssLayer.setMap(map);
    }

    google.maps.event.addDomListener(window, 'load', initialize);
</script>
<style>
#map-canvas { width:800px; height:500px; }
</style>
<div id=map-canvas>Map</div>