Skip to content

Commit

Permalink
fix motorcycle routing ios
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhdang198 committed Feb 26, 2024
1 parent fb6bdc9 commit 7327ecd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ class _VietMapNavigationScreenState extends State<VietMapNavigationScreen> {
_navigationOption = _vietmapNavigationPlugin.getDefaultOptions();
_navigationOption.simulateRoute = false;

_navigationOption.apiKey =
'YOUR_API_KEY_HERE';
_navigationOption.apiKey = 'YOUR_API_KEY_HERE';
_navigationOption.mapStyle =
"https://maps.vietmap.vn/api/maps/light/styles.json?apikey=${_navigationOption.apiKey}";

Expand All @@ -88,7 +87,7 @@ class _VietMapNavigationScreenState extends State<VietMapNavigationScreen> {

_controller?.buildRoute(waypoints: [
LatLng(location.latitude, location.longitude),
LatLng(10.350045832740465, 107.07618713378906)
const LatLng(10.350045832740465, 107.07618713378906)
], profile: DrivingProfile.cycling);
},
child: const Icon(Icons.delete),
Expand Down

0 comments on commit 7327ecd

Please sign in to comment.