botaohu / earth-api-samples

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

KML in Google Maps -- when you select/unselect the FIRST folder's checkbox from left side list, ALL icons are changed. #813

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I filed another bug a few weeks ago that referred to placemark icons not 
changing on the KML map when you check/uncheck the boxes on the left. This 
appears to have, well, not exactly gone away but changed.

What's happening now is that everything works except ONE thing. If you 
check/uncheck the checkbox for the FIRST folder on the left-side list (not the 
checkbox for the first item, but the checkbox for the first FOLDER), it 
shows/hides ALL the placemark icons on the map. 

You can try this for yourself at this example:
http://goo.gl/maps/db3Q

If you uncheck the checkbox for "Folder 1", you'll see that BOTH the placemark 
icons on the map go away. If you check it, they both come back. The desired 
behavior should be that it only affects the green placemark icon, not both the 
green and blue. If you do the same for any of the other checkboxes, you'll see 
that they behave properly.

Thanks in advance, and if you have any questions, please don't hesitate to get 
a hold of me. 

Original issue reported on code.google.com by minae....@gmail.com on 20 Jun 2012 at 6:09