Button opening system map app


#1

Hi there,

I’m currently studying a way to include a basic navigation feature inside a Ionic app which is designed to be fully self-contained, i.e. working even with no connectivity.

My idea is to place a button inside a “contacts” view which, when tapped, opens the system default map application (gmaps on android, maps on ios) centered on a certain location. The user should then be able to navigate to that location using the default map app (Of course if the map is available at the moment, i.e. data connectivity or offline map data are an option).

I’ve had a look at the embedded google map codepen posted on these forums a few times recently, but that seems to be a more complex solution than what I need.

Any starting hints would be welcome, and would give me something to study on. Thanks in advance!


Open native program to navigate to a destination