Map - Refresh GeoJSON Data

Is there any way to force the map to refresh the GeoJSON data?

I’m using a GeoJSON object to populate a “route”, this a LineString feature with an array of coordinates. In designer when the data is populated the lines show as expected. At runtime a user can select another route, this changes the GeoJSON data. However, the map does not automatically refresh with this new information.

The only way I could get the map to refresh is in designer by switching between design / preview mode.

Running on v8.1.7

1 Like