Ionic native google maps


#1

is it possible to show google maps with directions using native google maps ?? or should i use launch navigator and redirect users to google maps for directions?


#2

Open InAppBrowser and show the map & navigation in that.

var url = “http://maps.google.com/maps?daddr=” + destLat + “,” + destLong + “&saddr=” + lat + “,” + long;
$cordovaInAppBrowser.open(url, ‘_blank’, options)
.then(function (event) {
// success
})
.catch(function (event) {
// error
});