All Questions
Tagged with z-index openlayers-2
8 questions
0
votes
2
answers
2k
views
Openlayers Marker z-index
I have multiple marker in one layer OpenLayers.Layer.Marker and some times the marker overlap the other marker. My question is how do I bring the marker in front when its click? is there a setZ-index ...
1
vote
0
answers
199
views
OpenLayers: How to move smaller vectors to front?
I've got a problem that's been bugging me for quite some time now. As you can see in the image below I've got som vectors that ends up beneath bigger ones, and despite all my efforts of trying to ...
3
votes
1
answer
2k
views
Openlayers: How to make layer come to top after choosing it in layer switcher?
I have a base layer and 3 image layers . I also have setup a layerswitcher so that user can choose which layer is to be overlayed on the base map and I have 3 sliders such that user can choose the ...
0
votes
1
answer
2k
views
Marker layer not responding to events in OpenLayers
I have multiple layers in OpenLayers: three vector layers, one google map layer, and a marker layer. I registered feature selected event to all three vector layers (which works fine, but btw is that a ...
1
vote
0
answers
752
views
OpenLayers: How to get backgroundGraphic to go under externalGraphic
I've got a layer with nodes features on which I may want to display two images, a main one and a background one. This page : http://openlayers.org/dev/examples/marker-shadow.html shows what I want: ...
4
votes
1
answer
334
views
How to reverse the drawing order of markers?
I saw this example which demonstrates how ordering can be controlled with markers added using styling options (graphicZIndex) applied to a vector layer. Due to the limitations in the combination of ...
7
votes
2
answers
1k
views
OpenLayers how to maintain layer ordering while using SelectFeature control
I'd like my map to display a few layers in a particular order. Some of these layers are Vectors, others are XYZs, and some of my Vector layers display attribution.
Initial layer ordering works fine ...
2
votes
3
answers
4k
views
Change zIndex of Vectors in openlayers
I have a bunch of linestring features on a vector layer. Some of them overlap. If I trigger the hover event on those features, I want them be in front.
I did find some functions to set the z-index of ...