Insert ( or move them) 2 blocks ( Enable My Location and Long Click Listener ) in When Google Maps Map is Ready ( yellow block event )
and Show in Alert , variable POINTS ;
And use “Do it”
Whats error?
Post error screenshot.
If error come from coordinate to get my location or 4003.
You can use clock timer to triger to get location.
Did You can show us Points ?
Maybe a silly question but do you use an api key from OpenRouteService or a Google Map Api Key ?
Yes, that could be it.
I think that in my blocks there is this code, but honestly ,I didn’t know that this block influences the result.
I’ll check where I put this block.
I use label 2 as an indicator of enabled my location and it returns false when maps is ready. after 1 second the result is true and proven by move camera.
you can see the gif, when the app is run, label 2 = false, after 1 second it becomes true. (Test apk android10).
I also just realized that. usually i use initialize local to list to get my location. but the result is as expected.
Im My project, this block (Move Camera ) is inside When Maps is Ready.
I’ll find out if there’s another call to that block elsewhere.
It’s inside the Map is Ready, but it’s getting location already registered( lat , long ) . With Get My location, it doesn’t work.
I also disabled this Move Camera and clicked on the compass (?) so it worked too.
Fixing: you added the timer to the blocks that @gustavoqueirozmit had already typed looking at the video on youtube, right?
i use google maps
google maps api ?
yes api google maps