N
N
ngapp2020-01-16 14:38:56
JavaScript
ngapp, 2020-01-16 14:38:56

Is it possible to automatically fill in the "To" field when building a route?

Hello everyone, I want to implement the construction of a route on a local map with labels and the question arose of using a standard tool.

var control = myMap.controls.get('routeButtonControl');

The "from" field is automatically filled in and depends on the current position of the user, and the "To" field would like to be automatically filled in depending on the marks on the map.
How can it be implemented? Is it even possible to bring the operation to a separate "Build route" button (eg javascript) Outside the map that will open a window and implement this?
5e204b3f63f9c040832346.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question