ThinkGeo.com    |     Documentation    |     Premium Support

KML Polygon color

Is there a way to get the color of a polygon in a KMLFeatureLayer? Specifically, can you get the color of the polygon at a specific lat/lon point?

Thanks,
Dib

Hi Dib,

We don’t have API to get it. Because if that’s the color from KML, we need to set embedded style for render it, but we don’t have API to read the embedded style in code.

Regards,

Ethan