Zoom change causes filter reset

1831
5
Jump to solution
06-14-2020 11:24 PM
Henry7512Custer
New Contributor II

Hello,

 

I've been playing with  this query example Querying features | Esri Leaflet . I've noticed that, sometimes, as I change the zoom level the query seems to reset and the map starts showing all features again. Is this the expected behavior? How can I make the map show only the queried features at all zoom levels. I've tested this on several web browsers and get the same result on all of them.

 

Thank you,

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
GavinRehkemper
Esri Contributor

This was addressed in the recent esri-leaflet release. We hope this solves your issue. L.esri.FeatureLayer where clause is not always persisting · Issue #1196 · Esri/esri-leaflet · GitHub 

View solution in original post

0 Kudos
5 Replies
Henry7512Custer
New Contributor II

Has anyone been able to replicate this issue? Please see the image below. There is an active filter but the displayed data is showing other features not in the query. This happens whenever I zoom out /in a couple of times.

0 Kudos
RickeyFight
MVP Regular Contributor

Henry7512 Custer

Yes I was able to see this error too

0 Kudos
GavinRehkemper
Esri Contributor
0 Kudos
GavinRehkemper
Esri Contributor

This was addressed in the recent esri-leaflet release. We hope this solves your issue. L.esri.FeatureLayer where clause is not always persisting · Issue #1196 · Esri/esri-leaflet · GitHub 

0 Kudos
Henry7512Custer
New Contributor II

Thank you!