circlemarker zindexoffset

413 views
Skip to first unread message

shaefner

unread,
May 23, 2012, 7:13:18 PM5/23/12
to leafl...@googlegroups.com
I noticed there's an option called "zindexoffset" for controlling the stacking order of markers, but it doesn't seem to work for circleMarkers. Is there a workaround to control the stacking order for circleMarkers?

Thanks,
Scott

FunkMonkey33

unread,
May 29, 2012, 8:09:22 PM5/29/12
to Leaflet
Circles and CircleMarkers use SVG (if available on the user's
browser), which don't support z-indexing. Z-order is based on the
order in which the elements were added to the map.

http://stackoverflow.com/questions/482115/with-javascript-can-i-change-the-z-index-layer-of-an-svg-g-element

Aaron
Reply all
Reply to author
Forward
0 new messages