[Google Maps Mobile] SetZoom not working at all

[Google Maps Mobile] SetZoom not working at all

Forge Component
Published on 24 May by Labs
9 votes
Published on 24 May by Labs

I've been trying to work with the Google Maps mobile components and having a lot of trouble.

Right now I am particularly stuck on trying to get SetZoom to work.

It seems that the "ZoomLevel" input of the map doesn't do anything, so I then tried to use the "SetZoom" function, sending it the Map.Id and a zoom level. Whenever I do this I get an error that simply says "[Object object]" with no more information.

Am I doing something wrong here?


Hi Jordan,

Since it's not working you can workaround by js.

On the OnMapInitialized event of the Map block, save the MapId to a local variable, then use something like this on a js node:

Hope it helps