Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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","); map.addLayers([imgLayer]);

share|improve this answer

Your Answer


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.