How to add Multiple overlays to Map?

how to add map layer overlays in openlayers?

Jaison Justus at Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

When you define a map in openlayers you should define one or more BaseLayer(but just one of them is displayed at a time). Upon these layer you could load as many overlay as you prefer. Have a look http://trac.openlayers.org/wiki/Overlay for the definition of overlay in OpenLayers. http://openlayers.org/dev/examples/layer-opacity.html is an example of overlay with OpenLayers. Anyway you could find a lot of samples just googling..

hara

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.