how to add map layer overlays in openlayers?
-
i have 3 shapefile ready in a map file, and rendering it on mapserver. what i need is to and these layer overlay one over the other.how can i do this
-
Answer:
Would http://maps.tikiwiki.org/Tutorial%3a+Mapfile+Editing&structure=Tikiwiki+mapserver#Layers help? for your question in the comment, http://openlayers.org/dev/examples/ You'll also find http://www.geoext.org/ useful. In the examples, you can see the different ways to add a layer to open layers
Jaison Justus at Stack Overflow Visit the source
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:
- How To Add Fonts In Ubuntu?Best solution by wiki.ubuntu.com
- How To Add The News?Best solution by Quora
- How can you map the differences between Javascript objects?Best solution by Code Review
- How to create map overlays on google map?Best solution by Quora
- How to add multiple polygons to a (Google) map?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.