[google_maps_flutter][web] Support clickableIcons flag
- Dominant language
- Dart
- Stars
- 179k
- Forks
- 31.1k
- PR merge metrics
- PR metrics pending
Description
### Use case
As a developer I want to hide the default info window which appears when clicking on a POI
### Proposal
While going through the source files of google_maps_flutter_web I can see that the extension type MapOptions includes this boolean clickableIcons which is used by the JS API for the purpose of hiding this info windows.
```dart
extension type MapOptions._(JSObject _) implements JSObject {
external MapOptions({
String? backgroundColor,
bool? cameraControl,
CameraControlOptions? cameraControlOptions,
LatLngOrLatLngLiteral? center,
bool? clickableIcons,
JSAny? /*(ColorScheme|string)?*/ colorScheme,
num? controlSize,
bool? disableDefaultUI,
bool? disableDoubleClickZoom, ...) }
```
But there is no way to set this option via the GoogleMap widget. I think it would be nice to have an extra variable for this purpose. Something like:
```dart
GoogleMap(clickableIcons: false, ...)
```
Contributor guide
Assessment
This issue has not been assessed yet.