Search code examples
htmlgoogle-mapsmapskmlgoogle-earth

Placemark in kml maps is visible with the check box inactive


I have a malfunction with my project map. When I upload the map in the code I don't want the folders to show up and they are unchecked and invisible but there are still a lot of points on the map....What is the problem?

this is the web page http://mio.com.co/mapa/mapa.html,

and here is the kml (sorry for not posting the code as it is too long)

http://mio.com.co/mapa/kml/sept.kml


Solution

  • If you want things not to be visible, the correct way to do it in KML is to set:

    <visibility>0</visibility>
    

    KML Reference

    Don't know why your version doesn't work (I suspect it has to do with the way you are loading it, but I am not an expert on Lance Dyas' GeoXml-V3), this version (based off the simple example on the project home page) seems to do the right thing.