I’m currently working on a Flutter project where I want to implement cloud-based map styling using the cloudMapId parameter provided by the google_maps_flutter package.
When I try to create a new Map ID in the Google Cloud Console, I’m prompted to select a ‘Map type’ with the following options: JavaScript, Android, iOS, and Static.
I’m unsure which option I should choose for my Flutter project. Does the choice of map type impact the functionality or interactivity of the map within the Flutter app? Is there a recommended option specifically for Flutter projects?
1
In most cases, if you’re targeting both platforms, you’ll need to create two map IDs—one for Android and one for iOS. If you’re only developing for Android or iOS, select the corresponding option.