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-leaflet via CDN
- Add a
L.esri.featureLayer using a point feature service, with maxZoom and minZoom properties and a pointToLayer function that returns an L.marker using a L.icon to represent point features.
- Zoom to within the
maxZoom and minZoom zoom levels, back out of the range, then back into the range and back out again. At this point, you will see L.icons still visible on the map.
Logs
System Info
Leaflet version: 1.9.4 | Esri Leaflet version: 3.0.13
Additional Information
No response
Describe the bug
In this sample, a
maxZoomandminZoomare set on aL.esri.featureLayer. The issue is that, after the initial zoom into and out of themaxZoom/minZoomrange, theL.icons do not disappear and remain on the map.Reproduction
A repro Codepen is available here: https://codepen.io/shawnmgoulet/pen/xbKNwrM.
esri-leafletvia CDNL.esri.featureLayerusing a point feature service, withmaxZoomandminZoomproperties and apointToLayerfunction that returns anL.markerusing aL.iconto represent point features.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