Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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