google_maps_flutter_web 0.6.0 copy "google_maps_flutter_web: ^0.6.0" to clipboard
google_maps_flutter_web: ^0.6.0 copied to clipboard

Platformweb

Web platform implementation of google_maps_flutter

0.6.0 #

  • BREAKING CHANGES: Adds type constraints to generic type parameters:
    • ClusterManagersController<T> now requires T extends Object
    • MarkersController<T, O> now requires T extends Object
  • Adds support for Google Maps JavaScript API Advanced Markers (AdvancedMarker), including new AdvancedMarkerController and AdvancedMarkersController classes, support for PinConfig with customizable background, border, and glyph, and custom marker content via BitmapDescriptor (including AssetMapBitmap, BytesMapBitmap, and PinConfig). Advanced markers require the marker library - add &libraries=marker to your Google Maps API script URL in web/index.html.
  • Adds isAdvancedMarkersAvailable() method to check if advanced markers are supported.
  • Refactors marker architecture to support both legacy Marker and new AdvancedMarker types through unified controller interfaces.
  • Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.

0.5.14+3 #

  • Replaces uses of deprecated Color properties.

0.5.14+2 #

  • Fixes a bug where using cloudMapId for cloud-based styling would fail if the style property was also present.

0.5.14+1 #

  • Stops processing events and cancels subscriptions when controller is disposed.

0.5.14 #

  • Adds support for disabling or moving the camera control button on web.

0.5.13 #

  • Updates minimum supported SDK version to Flutter 3.29/Dart 3.7.
  • Fixes consumeTapEvents for Circles, Polygons & Polyline on web.

0.5.12+2 #

  • Fix broken cameraTargetBounds option on web.

0.5.12+1 #

  • Deprecates zIndex parameter in Marker in favor of zIndexInt.
  • Updates minimum supported SDK version to Flutter 3.27/Dart 3.6.

0.5.12 #

  • Adds support for ground overlay.

0.5.11 #

  • Adds support for marker anchor.
  • Updates READMEs and API docs.
  • Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.

0.5.10 #

  • Adds support for heatmap layers.

0.5.9+2 #

  • Restores support for Dart ^3.3.0 and Flutter ^3.19.0.

0.5.9+1 #

  • Fixes a typo in the formatting of the CHANGELOG.

0.5.9 #

  • Updates package:google_maps dependency to latest (^8.0.0).
  • Adds support for web: ^1.0.0.
  • Updates SDK version to Dart ^3.4.0. Flutter ^3.22.0.

0.5.8 #

  • Adds support for BitmapDescriptor classes AssetMapBitmap and BytesMapBitmap.

0.5.7 #

  • Adds support for marker clustering.

0.5.6+2 #

  • Uses TrustedTypes from web: ^0.5.1.

0.5.6+1 #

  • Fixes an issue where dart:js_interop object literal factories did not compile with dart2js.

0.5.6 #

  • Adds support for MapConfiguration.style.
  • Adds support for getStyleError.

0.5.5 #

  • Migrates to dart:js_interop and package:web APIs.
  • Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.

0.5.4+3 #

  • Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
  • Fixes new lint warnings.

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