I am a turbogears user and I am trying to display a map with Multiple Latitude Longitude Coordinates. (Not A Unrealistic thing to do correct?)
I have seen many posts such as trying to load an xml file and then plot function load() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map")); map.addControl(new GLargeMapControl()); map.addControl(new GMapTypeControl()); // The following defines the mid-point for the map and the initial scale. The "11" can be replaced // with numbers between 1-16 map.setCenter(new GLatLng(41.258531,-96.012599), 11); // Download the data in data.xml and load it on the map. The format we // expect is: // <markers> // <marker lat="37.441" lng="-122.141"/> // <marker lat="37.322" lng="-121.213"/> // </markers> GDownloadUrl("data.xml", function(data) { var xml = GXml.parse(data); var markers = xml.documentElement.getElementsByTagName("marker"); for (var i = 0; i < markers.length; i++) { var point = new GLatLng(parseFloat(markers[i].getAttribute("lat")), parseFloat(markers[i].getAttribute("lng"))); map.addOverlay(new GMarker(point)); } }); } } What is the easiest approach to doing this. Note Please respond if you have done this. I have been struggling trying to do what would be a reasonable request. Any help would greatly be appreciated Thank You -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to google-maps-...@googlegroups.com. To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.