react-leaflet-pixi-overlay
react-leaflet-pixi-overlay copied to clipboard
Rendered markers don't work with layers
I'm doing something like this:
<LayersControl.Overlay checked name="Test layer">
<LayerGroup>
<PixiOverlay markers={getMarkers()} />
</LayerGroup>
</LayersControl.Overlay>
The markers don't disappear regardless of layer control state.
I switched to PixiOverlay
for faster/smoother rendering of map markers. I've to render thousands of them, ranging from a couple thousand to tens of thousands. PixiOverlay
seems to do the job but I also want to hide/show different layers. That's the problem I'm facing.
@rizwanliaqat97 long shot but did you ever find a solution to this? Having the same issue