How can I draw/plot directions on the map component?

On the map how can i get a direction from my spot to the red marker that is the location that I want to arrive in it?

By using the letitude and lengtude from the firebase

What are the blocks that maybe used .

1 Like

Hello!

You need to use the Google or Apple Maps API in your APP, providing the georeference as parameters.

Please check this project as example:
Thunkable

Regards,

Paulo Vaz

3 Likes

Welcome to Thunkable.

Google Maps has a function called direction service which you can use it through Web API to get a list of route points that you can draw on the map.

This is an example

https://maps.googleapis.com/maps/api/directions/json
  ?destination=37.773245%2C-122.469502
  &origin=37.773279%2C-122.468780
  &key=YOUR_API_KEY

You can see the documentation here

2 Likes