- Updates
README.md
to describe a hit-testing issue when Flutter widgets are overlaid on top of the Map widget.
- Implements the new platform interface versions of
buildView
andupdateOptions
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.
- 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 withsanitizeHtml
frompackage:sanitize_html
. More info.
- Removes unnecessary imports.
- Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors lint warnings.
- Removes dependency on
meta
.
- Add
onDragStart
andonDrag
toMarker
- 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
- Add
implements
to pubspec.
- Update the
README.md
usage instructions to not be tied to explicit package versions.
- Document
liteModeEnabled
is not available on the web. #83737.
- Change sizing code of
GoogleMap
widget'sHtmlElementView
so it works well when slotted.
- Migrate package to null-safety.
- Breaking changes:
- The property
icon
of aMarker
cannot benull
. Defaults toBitmapDescriptor.defaultMarker
- The property
initialCameraPosition
of aGoogleMapController
can't benull
. It is also marked asrequired
. - The parameter
creationId
of thebuildView
method cannot benull
(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.
- The property
- Move integration tests to
example
. - Tweak pubspec dependencies for main package.
- 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!
- Update min Flutter SDK to 1.20.0.
- Auto-reverse holes if they're the same direction as the polygon. Issue.
- Update
package:google_maps_flutter_platform_interface
to^1.1.0
. - Add support for Polygon Holes.
- Update Flutter SDK constraint.
- Update
package:google_maps_flutter_platform_interface
to^1.0.5
. - Add support for
fromBitmap
BitmapDescriptors. Issue.
- Substitute
undefined_prefixed_name: ignore
analyzer setting by adart:ui
shim with conditional exports. Issue.
- Ensure a single
InfoWindow
is shown at a time. Issue.
- Update
package:google_maps
to^3.4.5
. - Fix
GoogleMapController.getLatLng()
. Issue. - Make
InfoWindow
contents clickable soonTap
works as advertised. Issue. - Fix
InfoWindow
snippets when converting initial markers. Issue.
- Update
package:sanitize_html
to^1.4.1
to prevent a crash when InfoWindow title/snippet have links.
- Fix crash when converting initial polylines and polygons. Issue.
- Correctly convert Colors when rendering polylines, polygons and circles. Issue.
- Fix crash when converting Markers with icon explicitly set to null. Issue.
- Port e2e tests to use the new integration_test package.
- First open-source version