4

I am not able to display Ground Overlays in a KML file with OpenLayers. Does OpenLayers supports KML Ground Overlays? If not, how would I proceed in writing my own code or plugin for OpenLayers so that I can display Ground Overlays?

1 Answer 1

3

The regular way does not support it (OpenLayers.Format.KML). as you can see this example contains an overlay in france and it does not show up in openlayers but it does in google earth.

http://openlayers.org/dev/examples/sundials.html

http://openlayers.org/dev/examples/kml/sundials.kml

You're going to have to parse it manually and use OpenLayers.Layer.Image to mount it using the bounds extrancted from the KML overlay element.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.