Open ghost opened 9 years ago
[WORKAROUND]
mapInstance.getPanes()['tilePane'].style.zIndex = 2147483647;
This will get me by but I do not like it :-1:
setZIndex
is what you need, looks like bringToFront
is not implemented
@javisantana could you please laborate more how this setZIndex will help ?
I added a canvas layer and am rendering svg elements. I also have a geojson layer. The canvas layer is supposed to overlay the geojson layer, however, the svg elements on the canvas layer are being drawn under the geojson layer.
How do I bring the canvas layer to the front?
myCanvasLayer.bringToFront() does not work and according the source it is a no-op.
invoking 'myGeoJsonLayer.bringToBack()' does not help either.