After using GUnload() and then re-initializing the map with a KML file with GGeoXML(), the polylines from the KML file do not load.
Please test this for yourself by going to http://www.digitconvert.com/maptest.html When you load the map, a KML file is loaded like this: map = new GMap2(document.getElementById('mapcontainer')); map.setCenter(new GLatLng('36.97285', '-122.02458'), 13, G_PHYSICAL_MAP); map.setUIToDefault(); gx = new GGeoXml('http://api.motionxlive.com/motionx-remote/api/gps/ host/fa2c860d-43fc-46d3-9e6d-ef361504d025'); map.addOverlay(gx); Then, when you unload the map, GUnload is called: GUnload(); Then, try to press the "Load Map" button again, and you will see that the polylines that should appear from the KML file do not appear. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
