ApplyEdits returns a response before map is rerendered

110
1
12-06-2021 06:18 AM
MichaelK1
New Contributor

Current implemetation:

We change our popup's location when a feature is updated  - new feature data with different x and y coords -. After we apply the updates of the feature with applyEdits we are trying to update the location of the popup (with the new geometry).

But the moment applyEdits returns a response the map is not rerendered yet. How to check when applyEdits have triggered a render action and the map is redrawn.

Thanks id advance!

 

 

0 Kudos
1 Reply
BlakeTerhune
MVP Regular Contributor

Try watching for the map to finish rendering using watchUtils()

Here's some more info.