[Google Maps Mobile] Setzoom not working after appending marker list

Forge Component
Published on 2018-10-11 by Labs
17 votes
Published on 2018-10-11 by Labs

Good day guys, I would like to seek your help on my project. its a shuttle tracking application I was able to append the markers on the map but i cant set the zoom level after appending the marker. 

Below is the client action I'm using to set the marker and the error that I got.

Current output zoom level 22

Expected output zoom level 17

Hi Royce,

Where are you calling this action? OnInitialize? OnReady? My advice is to use the MapInitialized event to call your action, this way you know the map as been created.

Also make sure you have the latest version of the component.