I’m using google maps flutter package and I successfully displayed the map on the screen/ However when using maptype as normal, all the points POIs are shown clearly but the moment I switch maptype to satellite, the points disappear. How to show the points POIs in satellite view?
PS. cloudMapId is totally usesless even though the device on the latest renderer initialized
class GoogleMapView extends GetView<HomeController> {
const GoogleMapView({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Obx(
() => GoogleMap(
initialCameraPosition: const CameraPosition(
target: LatLng(40.75757531, -70.99141428),
zoom: 14,
),
padding: const EdgeInsets.all(0),
mapType: MapType.satellite,
cloudMapId:
'ejwfewjmofmewf',
onMapCreated: (GoogleMapController googleMapController) async {
controller.googleMapController = googleMapController;
await controller.onMapCreated();
},
onCameraMove: (CameraPosition cameraPosition) {},
onCameraIdle: () {},
myLocationEnabled: controller.isLocationGranted.value,
markers: const {},
zoomControlsEnabled: false,
myLocationButtonEnabled: false,
trafficEnabled: true,
),
);
}
}