I hadn't seen that one on the Tutorial. However, it's still not working. The file containing the 'content' portion of the page is: http://www.glsc.usgs.gov/_text/DTR.php but here's the relevant code:
<script src="http://maps.google.com/maps?file=api&........"></script> <script src="../_javascript/egeoxml.js" type="text/javascript"></ script> <script type="text/javascript"> //<![CDATA[ function load() { if (GBrowserIsCompatible()) { var exml; exml = new EGeoXml("exml", map, "../_files/DTR58test.xml"); exml.parse() //var geoXml = new GGeoXml("http://www.glsc.usgs.gov/_files/ DTRtest58.kml"); var map = new GMap2(document.getElementById("map")); map.setCenter(new GLatLng(42.210000, -83.075000), 11, G_SATELLITE_MAP); map.addControl(new GLargeMapControl()); map.addControl(new GScaleControl()); map.addControl(new GMenuMapTypeControl()); map.addMapType(G_PHYSICAL_MAP); //map.addOverlay(geoXml); map.addOverlay(exml); map.enableScrollWheelZoom(); } } //]]> </script> <div id="map" class="map" style="..."></div> The map opens to the proper location and zoom level but, the data does not load. I used the .xml extension and then tried the .kml extension to no avail. If I use the lines that are currently commented out, it works but I can't use a sidebar. On Jul 22, 5:03 pm, Ralph Ames <[email protected]> wrote: > >http://www.glsc.usgs.gov/main.php?content=DTR&title=fish%20at%20Risk0... > > research_risk_fish > > Have you seen thishttp://econym.org.uk/gmap/egeoxml.htm > > Ralph --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
