From 7327ecd68723504c009f5c0653698fb3cb8e7f7d Mon Sep 17 00:00:00 2001 From: thanhdang198 Date: Mon, 26 Feb 2024 10:39:48 +0700 Subject: [PATCH] fix motorcycle routing ios --- example/lib/main.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 1068830..ddbdd68 100755 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -66,8 +66,7 @@ class _VietMapNavigationScreenState extends State { _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}"; @@ -88,7 +87,7 @@ class _VietMapNavigationScreenState extends State { _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),