Relative Content

Tag Archive for fluttergoogle-maps

cloudMapId for styling or JSON for styling

I am trying to change the style of Google Maps in my Flutter app. Currently I am loading it using an API key and i want to modify the style.
I have tried doing it on Google Cloud Console and trying to pass the MapID via string to the cloudMapID property of GoogleMap class.
But this didn’t work and the actual documentation says to change my xml files and add a string.xml; which I did and still didn’t work.
The older method seems to be to style via JSON file.
What is the correct method? Please give me useful links or walk me through what to do. I want to do it for iOS and Android.

Difference Between google_maps_flutter on iOS and on Android

I have written a Flutter app for iOS and Android. It uses the google_maps_flutter plugin, which is working on both platforms. There is a difference in behavior, though, between Android and iOS that I would like to understand and control.