Problem with two way databinds in the Map component

Hello

I had some weird behavior using the Map and I think I found a bug, but I am not sure. How to recreate:

  • Create an action that sets the zoom level, latitude and longitude stored in app variables.
  • Manually zoom far out or set the start zoom different than in the action.
  • Execute the Action.

The first time you call the action only the zoom will be affected. If the current zoom is close to or exactly the zoom level in the action the action will perform as expected. Moving to the correct Lat/Long.

You can see the app variables get updated to the correct Lat/Long in the log. But they get overwritten by the current Lat/Long values instantly.

Hi!

Thank you for letting us know about this. Registered a challenge on this one.