2

How to set the Latitude and Longitude range that focuses on a specific region in Mercator Projection when the layer loads in OpenLayers API ? Is there any way to put image over the layer?

asked Oct 6, 2012 at 18:06
0

1 Answer 1

1

You want to overlay a image(raster) over the vector layer. This will hide the vector data because of the layer order preference used in OL

you can add images using OpenLayers.Layer.Image

var imgLayer = new OpenLayers.Layer.Image("img",http://myserver.com/images/img.png"); map.addLayers([imgLayer]);

answered Nov 4, 2012 at 13:16

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.