L
L
lilwings2020-01-27 16:01:58
HTML
lilwings, 2020-01-27 16:01:58

Is it possible to create a link to google maps with a route to the desired point?

Hello everyone!)

There is a block in which there is a map, the map is made through mapbox, purely for visualization and viewing the terrain of the desired location. And there is a text with an address.

Is it possible to make this text a link so that when the user clicks, it redirects to google maps and builds a route from his location to the address that was in the link?) Or at least open this place (by coordinates) with the desired distance (zoom) by the link?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shohruh Shaimardonov, 2020-01-27
@lilwings

Read of.docs
A to go from the current location to point A, write a script that gets permission to determine the user's location and passes as a parameter to the link

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question