Answer the question
In order to leave comments, you need to log in
How to choose an application for building a route?
Good afternoon! Is there a way that by clicking on the "Build a route" link on a mobile device, the choice of opening the route in a particular application, for example, in Yandex maps or in Yandex navigator, is offered?
ps I found the usual links to the map and navigator.
Answer the question
In order to leave comments, you need to log in
I advise you to read here
For example, if you need to share a link through the choice of applications:
function share(){
if (navigator.share) {
navigator.share({
url: 'ТВОЙ ЮРЛ',
})
.then(() => console.log('Successful share'))
.catch((error) => console.log('Error sharing', error));
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question