react-leaflet-pixi-overlay icon indicating copy to clipboard operation
react-leaflet-pixi-overlay copied to clipboard

Rendered markers don't work with layers

Open rizwanliaqat97 opened this issue 2 years ago • 2 comments

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.

rizwanliaqat97 avatar Jun 06 '22 13:06 rizwanliaqat97

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 avatar Jun 06 '22 13:06 rizwanliaqat97

@rizwanliaqat97 long shot but did you ever find a solution to this? Having the same issue

FrankieDuck avatar May 23 '23 11:05 FrankieDuck