You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the last version of SDK 0.5.2 and doing tests on iOS atm.
I have used https://mapstyle.withgoogle.com/ to generate a test style for our map. We want to be able to do some customisation. This works by using setMapStyle. If you look at the video, the first few frames are in, let's say, dark mode. After I press the start navigation button, my map style changes. Is there a way to fix this somehow?
await GoogleMapsNavigator.initializeNavigationSession();
final NavigationRouteStatus status =
await GoogleMapsNavigator.setDestinations(destinations);
if (status == NavigationRouteStatus.statusOk) {
await GoogleMapsNavigator.startGuidance();
}
EDIT: I just tested this same code on Android and it works fine, so style is there before and after navigation starts.
Another thing I did notice is that style is removed as soon I set setNavigationUIEnabled to true and its back when I set it to false.
I am using the last version of SDK 0.5.2 and doing tests on iOS atm.
I have used https://mapstyle.withgoogle.com/ to generate a test style for our map. We want to be able to do some customisation. This works by using setMapStyle. If you look at the video, the first few frames are in, let's say, dark mode. After I press the start navigation button, my map style changes. Is there a way to fix this somehow?
EDIT: I just tested this same code on Android and it works fine, so style is there before and after navigation starts.
Another thing I did notice is that style is removed as soon I set setNavigationUIEnabled to true and its back when I set it to false.
Simulator.Screen.Recording.-.iPhone.16.Pro.Max.-.2025-04-04.at.09.18.19.mp4