Open native maps app

Questions and answers on developing, deploying and using plugins and JavaBeans

Open native maps app

Postby nic » Mon Jan 24, 2022 5:16 pm

I am using the svyphonegapLocation plugin to get the geo coordinates from my device.
Then after this I show the location with application.showURL('https://www.google.nl/maps/dir/fromAddressA/toAddressB', '_blank').
The map is displayed and the route from addressA to addressB is shown.
So far, so good.
Then a message is shown with a question 'Use the native maps app', as you can see in the attached pdf.

But when I click on this button nothing happens.
It would be nice if then the native google maps app would open and I could listen to the spoken navigation from the app.
Does anybody have some experience with this problem?
Attachments
maps screenshot.pdf
(98.97 KiB) Downloaded 164 times
nic
 
Posts: 21
Joined: Fri Nov 16, 2018 10:54 am

Return to Plugins and Beans

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron