I have a map which displays some dynamic geojson polygons as well as some static point datasets from a WMS.
The issue is that the WMS data needs to appear above the geojson.
I have tried changing the z-index for each of the layers and while I can reorder the basemap (tiles) and WMS layers fine, the geojson is always sat on top.
Is this a limitation of leaflet or do geojson layers require a different method to reorder?