Launching external maps application


I need to open another application, from longitude and latitude. Example waze, google maps. How I do this?


Most apps captures their domain urls in their mobile apps, if you want to open Google Maps the simplest cross platform way of doing it may be using openUrl utility method.


You may read more about Google Map’s url schemes here. Besides you can also use Intents in Android / url schemes in iOS.


Additionally, you can take a look at the nativescript-directions plugin’s source as that’s exactly what it does:


Excelent! I used openurl :slight_smile: