Sorry for not providing enough detail. As per http://www.journalofmaps.com,
a map is loading polygons from a GeoRSS feed using:

    <script type="text/javascript">
        var map = new GMap(document.getElementById("map"));
        var customUI = map.getDefaultUI();
        customUI.maptypes.hybrid = false;
        map.setUI(customUI);
        var gx = new GGeoXml("http://journalofmaps.com/about.php?
helpfile=smartyRSS.xml");
        map.addOverlay(gx);
        map.setCenter(new GLatLng(0, 0), 2);
    </script>

If I load the GeoRSS directly in to Google maps such as

http://maps.google.com/maps?q=http://journalofmaps.com/about.php?helpfile=smartyRSS.xml

then InfoWindows appear when I click on the polygons. If I was hard
coding features in the javascript I might do something like:

var point = new GPoint(parseFloat(0.0),parseFloat(51.0));
var marker2 = new GMarker(point, markerOptions);
map.addOverlay(marker2);
GEvent.addListener(marker2, "click", function() {
          marker2.openInfoWindowHtml("<p style=width:
200px><b>TestPage</b>: <br><br>a paragraph.</p>");
    });

What is the best way to get info windows to work for the GeoRSS file?
Is there a GM function to do this or does something have to be written
that parses the file?

thanks

mike



On Aug 7, 1:34 am, Esa <[email protected]> wrote:
> Sorry but you absolutely must be more specific.
>
> http://groups.google.com/group/Google-Maps-API/web/suggested-posting-...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to