Open mivilleb opened 4 years ago
It's correct that the realtime layer does not have bringToFront
/bringToBack
. It would not be too hard to add those, and maybe also eachLayer
would be useful.
Help to add these would be welcome, I no longer actively work with this plugin, so it's not likely I will do it myself.
If I used this to get the a geojson polygon layer, the bringToBack works when I toggle the layer on and off:
Partial code:
If I use L.realtime instead of L.geojson, the call for bringToBack says it is not a function:
What do I have to do to make bringtoBack work when using realtime?