Closed Astha-Anand closed 4 years ago
This is an exact duplicate of #245. I have already made it clear that this behaviour is internal to the Google Maps app and this plugin has no control over it. Do not open another duplicate issue or you will be banned.
I also tried to check the same thing. I don't find any option to control GMaps behaviorfrom this plugin. That is something related to Google map. They don't allow this too!
Bug report
Current behavior:
When navigate to google maps with selected stops using launch navigator, it suggest its own path and not the one we passed with launch navigator.
Expected behavior:
It should not suggest different paths on google maps, should only show the points we passed through launch navigator. Problem is google map not following path as the path in our app.
Steps to reproduce:
Screenshots
Environment information
Cordova CLI version
Cordova platform version
cordova platform ls
. Installed platforms: ios 5.1.1 Available platforms: android ^8.0.0 browser ^6.0.0 electron ^1.0.0 osx ^5.0.0 windows ^7.0.0Plugins & versions installed in project (including this plugin) uk.co.workingedge.phonegap.plugin.launchnavigator 5.0.4 "Launch Navigator"
Dev machine OS and version, e.g. MacOS Mojave 10.14.5
Node JS version
iOS build issue:
Related code:
this.waypoints.map((waypoint, index) => { navigationString = navigationString.concat(
${waypoint.location.lat},${waypoint.location.lng}
); if (index < polylines.length - 1) { navigationString = navigationString.concat("+to:"); } });=> { console.log("is Google maps available->", success); let app: any; if (success) { app = this.launchNavigator.APP.GOOGLE_MAPS; } else { console.warn("Google Maps not available"); app = this.launchNavigator.APP.USER_SELECT; }
Other information: