cloudMapId
parameter to support cloud-based maps styling.CameraUpdate.newLatLngBounds
. Issue #122192.google_maps_flutter
for the web platform.MapStyleException
when an invalid JSON is used in setMapStyle
(was FormatException
previously).GoogleMapsInspectorPlatform
to allow integration tests to inspect parts of the internal state of a map.no_leading_underscores_for_local_identifiers
lint.prefer_relative_imports
.BitmapDescriptor.fromBytes
marker icons to support the new size
parameter. Issue #73789.README.md
to describe a hit-testing issue when Flutter widgets are overlaid on top of the Map widget.buildView
and updateOptions
with structured option types.google_maps_flutter
2.1.8 or later.const
constructor parameters in example tests.analysis_options.yaml
(and fixes code to comply with newest rules).package:google_maps
dependency to latest (^6.1.0
).convert.dart
sanitizes user-created HTML before passing it to the Maps JS SDK with sanitizeHtml
from package:sanitize_html
. More info.meta
.onDragStart
and onDrag
to Marker
getScreenCoordinate(LatLng)
method. #80710onPlatformViewCreated
, so the returned controller is 100% functional (has bounds, a projection, etc...)implements
to pubspec.README.md
usage instructions to not be tied to explicit package versions.liteModeEnabled
is not available on the web. #83737.GoogleMap
widget's HtmlElementView
so it works well when slotted.icon
of a Marker
cannot be null
. Defaults to BitmapDescriptor.defaultMarker
initialCameraPosition
of a GoogleMapController
can't be null
. It is also marked as required
.creationId
of the buildView
method cannot be null
(this should be handled internally for users of the plugin)remove
/dispose
. Calling these methods now will throw an Assertion error. Before it’d be a no-op, or a null-pointer exception.example
.NOTE: This plugin is not null-safe yet!
package:google_maps_flutter_platform_interface
to ^1.1.0
.package:google_maps_flutter_platform_interface
to ^1.0.5
.fromBitmap
BitmapDescriptors. Issue.undefined_prefixed_name: ignore
analyzer setting by a dart:ui
shim with conditional exports. Issue.InfoWindow
is shown at a time. Issue.package:google_maps
to ^3.4.5
.GoogleMapController.getLatLng()
. Issue.InfoWindow
contents clickable so onTap
works as advertised. Issue.InfoWindow
snippets when converting initial markers. Issue.package:sanitize_html
to ^1.4.1
to prevent a crash when InfoWindow title/snippet have links.