jamesmjones00123

Identify kml supplied polygons that surround a point

Discussion created by jamesmjones00123 on Jun 18, 2018

Using the 4.7 JS API, I have multiple KMLLayers on my map, each containing hundreds of polygons.  Given a point on the map, How can I identify all of the polygons across multiple layers that surround this point?  I would like to return the Placemark Name and Description of each.  I've looked at a lot of sample code but haven't seen this solution for kml provided polygon data.  Thanks much!

Outcomes