0.5.4+2
- Migrates to
dart:ui_web
APIs. - Updates minimum supported SDK version to Flutter 3.13.0/Dart 3.1.0.
0.5.4+1
- Adds pub topics to package metadata.
0.5.4
- Adds implementation for
cloudMapId
parameter to support cloud-based maps styling. - Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
0.5.3
- Initial support for custom overlays. #98596.
0.5.2
- Adds options for gesture handling and tilt controls.
0.5.1
- Adds padding support to
CameraUpdate.newLatLngBounds
. Issue #122192.
0.5.0+1
- Updates the README to mention that this package is the endorsed implementation of
google_maps_flutter
for the web platform.
0.5.0
- BREAKING CHANGE: Fires a
MapStyleException
when an invalid JSON is used in setMapStyle
(was FormatException
previously). - Implements a
GoogleMapsInspectorPlatform
to allow integration tests to inspect parts of the internal state of a map.
0.4.0+9
- Removes obsolete null checks on non-nullable values.
0.4.0+8
- Updates minimum Flutter version to 3.3.
- Allows marker position updates. Issue #83467.
0.4.0+7
- Clarifies explanation of endorsement in README.
- Aligns Dart and Flutter SDK constraints.
0.4.0+6
- Updates links for the merge of flutter/plugins into flutter/packages.
- Updates minimum Flutter version to 3.0.
0.4.0+5
- Updates code for stricter lint checks.
0.4.0+4
- Updates code for stricter lint checks.
- Updates code for
no_leading_underscores_for_local_identifiers
lint.
0.4.0+3
- Updates imports for
prefer_relative_imports
. - Updates minimum Flutter version to 2.10.
0.4.0+2
- Updates conversion of
BitmapDescriptor.fromBytes
marker icons to support the new size
parameter. Issue #73789. - Fixes avoid_redundant_argument_values lint warnings and minor typos.
0.4.0+1
- Updates
README.md
to describe a hit-testing issue when Flutter widgets are overlaid on top of the Map widget.
0.4.0
- Implements the new platform interface versions of
buildView
and updateOptions
with structured option types. - BREAKING CHANGE: No longer implements the unstructured option dictionary versions of those methods, so this version can only be used with
google_maps_flutter
2.1.8 or later. - Adds
const
constructor parameters in example tests.
0.3.3
- Removes custom
analysis_options.yaml
(and fixes code to comply with newest rules). - Updates
package:google_maps
dependency to latest (^6.1.0
). - Ensures that
convert.dart
sanitizes user-created HTML before passing it to the Maps JS SDK with sanitizeHtml
from package:sanitize_html
. More info.
0.3.2+2
- Removes unnecessary imports.
- Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors lint warnings.
0.3.2+1
- Removes dependency on
meta
.
0.3.2
- Add
onDragStart
and onDrag
to Marker
0.3.1
- Fix the
getScreenCoordinate(LatLng)
method. #80710 - Wait until the map tiles have loaded before calling
onPlatformViewCreated
, so the returned controller is 100% functional (has bounds, a projection, etc...) - Use zIndex property when initializing Circle objects. #89374
0.3.0+4
- Add
implements
to pubspec.
0.3.0+3
- Update the
README.md
usage instructions to not be tied to explicit package versions.
0.3.0+2
- Document
liteModeEnabled
is not available on the web. #83737.
0.3.0+1
- Change sizing code of
GoogleMap
widget's HtmlElementView
so it works well when slotted.
0.3.0
- Migrate package to null-safety.
- Breaking changes:
- The property
icon
of a Marker
cannot be null
. Defaults to BitmapDescriptor.defaultMarker
- The property
initialCameraPosition
of a GoogleMapController
can't be null
. It is also marked as required
. - The parameter
creationId
of the buildView
method cannot be null
(this should be handled internally for users of the plugin) - Most of the Controller methods can‘t be called after
remove
/dispose
. Calling these methods now will throw an Assertion error. Before it’d be a no-op, or a null-pointer exception.
0.2.1
- Move integration tests to
example
. - Tweak pubspec dependencies for main package.
0.2.0
- Make this plugin compatible with the rest of null-safe plugins.
- Noop tile overlays methods, so they don't crash on web.
NOTE: This plugin is not null-safe yet!
0.1.2
- Update min Flutter SDK to 1.20.0.
0.1.1
- Auto-reverse holes if they're the same direction as the polygon. Issue.
0.1.0+10
- Update
package:google_maps_flutter_platform_interface
to ^1.1.0
. - Add support for Polygon Holes.
0.1.0+9
- Update Flutter SDK constraint.
0.1.0+8
- Update
package:google_maps_flutter_platform_interface
to ^1.0.5
. - Add support for
fromBitmap
BitmapDescriptors. Issue.
0.1.0+7
- Substitute
undefined_prefixed_name: ignore
analyzer setting by a dart:ui
shim with conditional exports. Issue.
0.1.0+6
- Ensure a single
InfoWindow
is shown at a time. Issue.
0.1.0+5
- Update
package:google_maps
to ^3.4.5
. - Fix
GoogleMapController.getLatLng()
. Issue. - Make
InfoWindow
contents clickable so onTap
works as advertised. Issue. - Fix
InfoWindow
snippets when converting initial markers. Issue.
0.1.0+4
- Update
package:sanitize_html
to ^1.4.1
to prevent a crash when InfoWindow title/snippet have links.
0.1.0+3
- Fix crash when converting initial polylines and polygons. Issue.
- Correctly convert Colors when rendering polylines, polygons and circles. Issue.
0.1.0+2
- Fix crash when converting Markers with icon explicitly set to null. Issue.
0.1.0+1
- Port e2e tests to use the new integration_test package.
0.1.0
- First open-source version