You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/google_maps_flutter/google_maps_flutter_web/README.md
+13
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,9 @@ If you need marker clustering support, modify the <head> tag to load the [js-mar
63
63
</head>
64
64
```
65
65
66
+
## Heatmaps
67
+
To use heatmaps, add `&libraries=visualization` to the end of the URL. See [the documentation](https://developers.google.com/maps/documentation/javascript/libraries) for more information.
68
+
66
69
## Limitations of the web version
67
70
68
71
The following map options are not available in web, because the map doesn't rotate there:
@@ -85,3 +88,13 @@ Indoor and building layers are still not available on the web. Traffic is.
85
88
Only Android supports "[Lite Mode](https://developers.google.com/maps/documentation/android-sdk/lite)", so the `liteModeEnabled` constructor argument can't be set to `true` on web apps.
86
89
87
90
Google Maps for web uses `HtmlElementView` to render maps. When a `GoogleMap` is stacked below other widgets, [`package:pointer_interceptor`](https://www.pub.dev/packages/pointer_interceptor) must be used to capture mouse events on the Flutter overlays. See issue [#73830](https://github.com/flutter/flutter/issues/73830).
Copy file name to clipboardexpand all lines: packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/google_maps_controller_test.dart
Copy file name to clipboardexpand all lines: packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/google_maps_controller_test.mocks.dart
Copy file name to clipboardexpand all lines: packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/google_maps_plugin_test.dart
Copy file name to clipboardexpand all lines: packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/google_maps_plugin_test.mocks.dart
+11
Original file line number
Diff line number
Diff line change
@@ -137,6 +137,7 @@ class MockGoogleMapController extends _i1.Mock
137
137
_i4.DebugSetOptionsFunction? setOptions,
138
138
_i4.MarkersController? markers,
139
139
_i4.CirclesController? circles,
140
+
_i4.HeatmapsController? heatmaps,
140
141
_i4.PolygonsController? polygons,
141
142
_i4.PolylinesController? polylines,
142
143
_i6.ClusterManagersController? clusterManagers,
@@ -151,6 +152,7 @@ class MockGoogleMapController extends _i1.Mock
151
152
#setOptions: setOptions,
152
153
#markers: markers,
153
154
#circles: circles,
155
+
#heatmaps: heatmaps,
154
156
#polygons: polygons,
155
157
#polylines: polylines,
156
158
#clusterManagers: clusterManagers,
@@ -289,6 +291,15 @@ class MockGoogleMapController extends _i1.Mock
0 commit comments