-
Notifications
You must be signed in to change notification settings - Fork 801
Open
Description
Describe the bug
In this sample, a maxZoom and minZoom are set on a L.esri.featureLayer. The issue is that, after the initial zoom into and out of the maxZoom/minZoom range, the L.icons do not disappear and remain on the map.
Reproduction
A repro Codepen is available here: https://codepen.io/shawnmgoulet/pen/xbKNwrM.
- Add Leaflet
esri-leafletvia CDN - Add a
L.esri.featureLayerusing a point feature service, withmaxZoomandminZoomproperties and apointToLayerfunction that returns anL.markerusing aL.iconto represent point features. - Zoom to within the
maxZoomandminZoomzoom levels, back out of the range, then back into the range and back out again. At this point, you will seeL.icons still visible on the map.
Logs
System Info
Leaflet version: 1.9.4 | Esri Leaflet version: 3.0.13Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.
