quanduyle / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
0 stars 0 forks source link

unable to map single kml after switching to google earth - CASE 01500230 #118

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Demo link or sample code:

the full web app is on secured site, cannot post login info online

where kmlurl examples  - 
kmlurl = http://66.150.132.19/TripLegKml.aspx?TripLegID=393504
or 
kmlurl = 
http://66.150.132.19/tripkml.aspx?fpid=200513&zoom=2&p=fde72f39-4177-d37e-0997-6
785db33939c

kmlLayer = new google.maps.KmlLayer(kmlURL, { preserveViewport: 
isPreserveViewport });
kmlLayer.setMap(map);

What steps will reproduce the problem?
1. open pages (will automatically map flight plans (KMLs) for day)
2. click on google "earth" button 
3. try to click on individual flight plan to clear all kmls and re-map
   one single flight plan (KML)

Expected result:
when click 1 flight plan should removed all kml and re-map that specific one

Actual result:
Map will crash with error screen or freeze up or change to goolge maps and also 
freeze. 

Version: 3
ie8    windows XP

Additional comments:
we have an applicationt that maps numerous kmls (flight path), by default the 
web application open in google maps view, and if you click the google "Earth" 
botton, it mostly re-maps the existing kmls as it opens in google earth, 

once the googe earth finishes loading, after some difficulty/flickering -  I 
have links on the left side of screen that when clicked clears map of numerous 
kmls and maps that single kml, 

this does not work anymore, not sure when it stopped working it may have been 
before API ver3. 

so now when links are clicked it does nothing - the code still runs, hits all 
the break points, but no result in map and no error message on our end, 

lastly sometimes after a few clicks are just after a period of time the map 
will change back to google maps or to a error screen/image that says "The 
Google Earth Plugin had an interanl error. Try reloading the page." 

*********************************************************
Tip: Star this issue (next to title) to receive notifications of status
changes against this issue, also used as a gauge for how many people are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by akbar.n....@gmail.com on 2 Sep 2011 at 8:02

Attachments: