Hello,
I'm hoping that someone can tell me whether this is the expected behaviour in Experience Builder:
- I have a map widget (widget1) that points at a webmap
- I also have a second widget (widget2) that uses the MapViewManager to access the JimuMapView instance from widget1.
- From that instance, it gets access to one of the webmap feature layers (JimuMapView.MapView.Map.Layers) and sets a definition expression on it
- The feature layer is then filtered on the map according to the definition expression as expected.
- However, when you click on the map and a popup displays, the definition expression is automatically cleared (I checked the definition expression value before and after displaying the popup) and the feature layer displays again all features, making setting the definition expression directly on the feature layer not viable in Experience Builder.
Thanks in advance for your help