Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NEXT
## 2.14.2

* Adds documentation about iOS rendering issue with `PinConfig`.
* Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.

## 2.14.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,11 @@ abstract class BitmapDescriptor {
///
/// See [PinConfig] for more information on the parameters.
///
/// WARNING: On iOS, using a PinConfig may result in the marker not showing.
/// For details and updates, see https://issuetracker.google.com/issues/370536110.
/// If this issue has not been fixed in the version of the Google Maps SDK you
/// are using, consider using an asset or bitmap for customization on iOS.
///
/// Returns a new [PinConfig] instance.
static BitmapDescriptor pinConfig({
Color? backgroundColor,
Expand Down Expand Up @@ -1058,6 +1063,10 @@ class BytesMapBitmap extends MapBitmap {
/// )
/// ```
///
/// WARNING: On iOS, using a PinConfig may result in the marker not showing.
/// For details and updates, see https://issuetracker.google.com/issues/370536110.
/// If this issue has not been fixed in the version of the Google Maps SDK you
/// are using, consider using an asset or bitmap for customization on iOS.
class PinConfig extends BitmapDescriptor {
/// Constructs a [PinConfig] that is created from a pin configuration.
///
Expand All @@ -1068,6 +1077,11 @@ class PinConfig extends BitmapDescriptor {
/// pin marker.
///
/// At least one of the parameters must not be null.
///
/// WARNING: On iOS, using a PinConfig may result in the marker not showing.
/// For details and updates, see https://issuetracker.google.com/issues/370536110.
/// If this issue has not been fixed in the version of the Google Maps SDK you
/// are using, consider using an asset or bitmap for customization on iOS.
const PinConfig({this.backgroundColor, this.borderColor, this.glyph})
: assert(
backgroundColor != null || borderColor != null || glyph != null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/google_maps_f
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 2.14.1
version: 2.14.2

environment:
sdk: ^3.9.0
Expand Down
Loading