Tag Info

New answers tagged

0

Like user British steel already mentioned I would use a vector layer. Sometimes you also need a redraw of the vector layer.Have a look at http://stackoverflow.com/questions/10883142/change-z-index-of-marker-in-openlayers


0

According to the documentation there is no z-index for OpenLayers Markers, but you can definitely use one on vector layers. If you had a vector in a variable that you called someVector, then you would set it like this: someVector.setZIndex(5); Therefore I would suggest you display your data as a point vector instead of a marker.



Top 50 recent answers are included