Kazu46Machi / earth-api-samples

Automatically exported from code.google.com/p/earth-api-samples
0 stars 0 forks source link

GMarker.hide() is not working in Earth view #198

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Make sure Earth plugin is installed on machine
2. Run attached HTML file
3. Wait for Earth view to load
4. Click on Add Marker, marker is added
5. Click on Hide Marker (just invokes GMarker.hide()), marker still remains
present in Earth view
6. Switch to Maps view and you'll see that marker is hidden

What is the expected output or behavior? What do you see instead?

Marker should be hidden in both Map and Earth view. Instead it is just
hidden in Map view. Using map.addOverlay, map.removeOverlay removes marker
from both views, but it is much, much slower alternative (effectively
useless for more than 20 markers). 
Also, related to this problem - for some reason, marker adding works much
slower after Earth view is loaded (adding 500 markers gets done pretty fast
if I don't have Earth view in my map, contrary to the situation in which I
add this view, point to it, and then load markers).

Which plugin version are you using?
Newest, I guess

Which browsers and operating systems are affected?
All

Please provide any additional information (code snippets/links) below.
See attached file

Original issue reported on code.google.com by kkax...@gmail.com on 1 Apr 2009 at 9:41

GoogleCodeExporter commented 8 years ago
Here is file

Original comment by kkax...@gmail.com on 1 Apr 2009 at 9:43

Attachments:

GoogleCodeExporter commented 8 years ago
Duplicate of http://code.google.com/p/gmaps-api-issues/issues/detail?id=1209

We'll keep track of this in the Maps API issue tracker.

Original comment by api.roman.public@gmail.com on 6 Apr 2009 at 5:40