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.
Styling a Google Maps
Lahiru Udawatta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.