Select to view content in your preferred language

Filter widget zooming to geographical center

241
0
11-17-2021 06:21 AM
Labels (1)
Sil_
by
Regular Contributor

Hi,

I have set the filter widget in WAB to ask for a unique value from a field in a polygon layer. The polygon layer holds public properties in a city, and the neighborhood that each property belongs to is defined in a separate field. The widget is set to zoom to the area when a neighborhood name is selected from the drop-down list in the widget. This works fine 80% of the time.

However, when I select a neighborhood name from the list it zooms to this area for a few seconds before automatically panning to the center of the polygon layer, which is also the geographical center of the city. I then have to select a neighborhood name again for it to zoom to the chosen area and stays there. This happens most often when the filter widget is used for the first time after opening the app. This happens no matter which neighborhood I select from the list.

Are there any solutions or suggestions to fix this?

Thanks so much.

0 Kudos
0 Replies