hello everyone …
when i open location with in my app then the google map app in android platform open and the location is correct but no marker on map like ? what is the problem !
so I need to show marker to get distance between my location and this marker.
thanks
this.scheme = {
name: 'com.google.android.apps.maps',
appUrl: 'geo:',
browserUrl: 'https://www.google.com/maps/search/?api=1&query='
};
this.appAvailability.check(schemeInfo.name).then(
() => { // success callback
if (type == 'map' ){
window.open(schemeInfo.appUrl + url.longANDlati, '_system', 'location=no');
}else{
window.open(schemeInfo.appUrl + url, '_system', 'location=no');
}
},
() => {
if (type == 'map'){
window.open(schemeInfo.browserUrl + url.longANDlati+'&q='+url.user_name);
}else{
this.browserTab.openUrl(schemeInfo.browserUrl + url);
}
}
)