I've followed the instructions to the letter to get cloud-based map styling working with my Android app but the normal style loads every time.
I've linked the map ID to the map style, and I've provided the map ID in the layout resource file.
According to this article, cloud-based map styling requires the new map renderer to work. In the activity, I requested the latest renderer via MapsInitializer.initialize
but when I check the renderer in the callback it is always LEGACY
.
Google Play Services are fully up to date on the emulated device - a Pixel 7 with Android 13.0 - and there's plenty of storage. Maps SDK for Android is com.google.android.gms:play-services-maps:18.2.0
.
Does cloud-based map styling work with any virtual device?
LEGACY
is always the renderer. It must be as you mentioned about it being included in the emulator. I'll try a different API level/device and see what difference it makes. – Killingsworth