Navigation google maps

hello escrou creating an app to trace route between two points using google maps. However when it will generate the route error returns: “Error 4003: Routing service failed with status 403 Forbidden”.
I’ve already added the API key. Can anyone help me figure out why you’re returning this mistake?

send the code please then we can figure out the mistake

1 Like

Check your coordinate

update done

I saw this post but I didn’t understand

Did you use Component Navigation,?

1 Like

yes I used Component Navigation

I am on the street. My video is not in English. I can’t keep him here in the community.

1 Like


Move before request direction

1 Like

when boot screen enable “my location” and “map long click…?”

In the video I used LONG CLICK to mark the origin and destination.

1 Like

returned the same error

returned the same error

Where is Points ? :+1:
Did you pass the necessary parameters to draw the Polyline?
4003
“Bounding box and or geojson not present in request.”

2 Likes

How do you solve this?

Where are global latitude and longitude ?
You need the current latitude and longitude and destination.
In my example I took the Long Click event

The current latitude and longitude you are getting from mylocation block . So, you need , in some event , to get the latitude and longitude of the destination

2 Likes

i did a separate project just like yours, returned the same error

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