Closed Dhamu143 closed 7 years ago
Use of the transport mode parameter is illustrated here and here in the [AdvancedExample]().
i.e.
launchnavigator.navigate([50.279306, -5.163158], {
start: "50.342847, -4.749904",
transportMode: launchnavigator.TRANSPORT_MODE.WALKING
};
See also the Transport Mode documentation.
I recently tried this but did not work. i am using android device.
Please try building+running the AdvancedExample for confirmation that this works. Note the constraints, i.e. Google Maps must be launched in turn-by-turn mode in order to accept transport mode.
how can I enable that Turn-by-turn mode ? please edit above example please
is it possible that we can show only train in transportation mode ? if yes then how ?
i have tried as
launchnavigator.navigate([50.279306, -5.163158], { start: "50.342847, -4.749904", transportMode: launchnavigator.TRANSPORT_MODE.WALKING, launchMode:launchnavigator.LAUNCH_MODE.TURN_BY_TURN };
is this correct?
Hi,
Walking mode works with this code, but if I use launchnavigator.TRANSPORT_MODE.TRANSIT , driving mode is selected. The problem is the same in myapp and advanced example project (Android / Maps App with cordova)
I also noticed this... launchnavigator.TRANSPORT_MODE.TRANSIT works the same way like the DRIVING.
how can get specific transport mode launchnavigator.navigate([50.279306, -5.163158], { start: "50.342847, -4.749904" };
there is no example of how to use this.. please edit above code with specific transport mode
TRANSPORT_MODE
Transport modes for navigation: