Placemark should contain a id attribute


Placemark should contain a id attribute. This allows you to link directly to a placemark. Consider a KML document with a placemark with id myplacemark. You can then link directly to your placemark with a link of the form

The upcoming KML 2.2 spec has this to say: The href can be a fragment URL (that is, a URL with a # sign followed by a KML identifier). When the user clicks a link that includes a fragment URL, by default the browser flies to the Feature whose ID matches the fragment.


Add a different, unique, and unchanging id to each Placemark.

Not clear? Disagree?

You might be able to find help in one of these fine resources.

Copyright © 2002-4 Mark Pilgrim and Sam Ruby