[OpenLayers-Users] Access to KML attributes

Andreas Schnieders schnieders.a at gmail.com
Tue Sep 25 04:30:17 PDT 2012


Hi,

I have a similar implementation. I have a custom <id>ID</id> field in a
KML-Structure and I'm accessing it for example through this:
function onFeatureAdded(event)  {
    if(event.feature.attributes.id == someOtherId) doSomething();
}

Hope that helps?

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120925/8c69d5cc/attachment.html>


More information about the Users mailing list