The site uses Google Maps JavaScript API V3 Reference with a route service.

So, the user creates a route, after which you need to create a link, clicking on which the user gets on Google maps with the route already laid.

How can this question be implemented?

Update

Sorry to blame, clarify the task.

One user creates a route, and another user (or rather the manager) must see the created route in his application.

Because the application comes through mail, then the route can be transmitted via a link. For example, here is the generated link:

https://www.google.com/maps/dir/Π£ΠΊΡ€Π°ΠΈΠ½ΠΊΠ°, КиСвская ΠΎΠ±Π»Π°ΡΡ‚ΡŒ, Π£ΠΊΡ€Π°ΠΈΠ½Π°/50.15009569999999,30.746957000000066/50.1877935,30.585807799999998/50.17840169999999,30.31590349999999/50.17263,30.51898879999999/Π£ΠΊΡ€Π°ΠΈΠ½ΠΊΠ°, КиСвская ΠΎΠ±Π»Π°ΡΡ‚ΡŒ, Π£ΠΊΡ€Π°ΠΈΠ½Π° 

On this link in Google Maps you can see the paved route from the initial to the final point through the intermediate. But it does not give a complete picture. For example, if the user drags the route, then the manager who watches the application will not see the changed route, but only the one that is displayed in the link.

The task is as follows: how to move the created route in the API maps to the Google web-service of the map?

  • On this link in Google Maps you can see the paved route from the initial to the final point through the intermediate. But it does not give a complete picture. For example, if the user drags the route then the manager who watches the application does not see the changed route, but only the one that is displayed in the link. The task is as follows: how to move the created route in the API maps to the Google web-service of the map? - Yaros

1 answer 1

And if you already have API cards connected, why send the user to Google maps? Make a map on your server on a separate page and show the route there.