Navigation google maps

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 ;

1 Like

returned the same error

:point_up_2: :point_up_2: :point_up_2: :point_up_2: :point_up_2:

And use “Do it”

1 Like

Like this?
returned the same error

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 ?

1 Like

Like this

Result

Maybe a silly question but do you use an api key from OpenRouteService or a Google Map Api Key ?

2 Likes

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.

1 Like

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.

1 Like

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. :face_with_monocle:

It’s inside the Map is Ready, but it’s getting location already registered( lat , long ) :grin:. With Get My location, it doesn’t work. :pensive:
I also disabled this Move Camera and clicked on the compass (?) so it worked too.
:+1:

buss

I creat block like @gustavoqueirozmit

And add clock

All my block

1 Like

Fixing: you added the timer to the blocks that @gustavoqueirozmit had already typed looking at the video on youtube, right? :+1:

i use google maps my key = removed by mod
can you test this key please?


i use google maps

google maps api ?

1 Like

yes api google maps

Navigation needs api key from OpenRouteService

https://openrouteservice.org/

3 Likes