Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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.1

* Replaces internal use of deprecated methods.
* Updates minimum supported SDK version to Flutter 3.32/Dart 3.8.

## 2.14.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class MapIdBodyState extends State<MapIdBody> {
switch (_initializedRenderer) {
case AndroidMapRenderer.latest:
return 'latest';
// ignore: deprecated_member_use
case AndroidMapRenderer.legacy:
return 'legacy';
case AndroidMapRenderer.platformDefault:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ MapConfiguration _configurationFromMapWidget(GoogleMap map) {
indoorViewEnabled: map.indoorViewEnabled,
trafficEnabled: map.trafficEnabled,
buildingsEnabled: map.buildingsEnabled,
cloudMapId: map.cloudMapId,
mapId: map.cloudMapId,
// A null style in the widget means no style, which is expressed as '' in
// the configuration to distinguish from no change (null).
style: map.style ?? '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: google_maps_flutter
description: A Flutter plugin for integrating Google Maps in iOS and Android applications.
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
version: 2.14.0
version: 2.14.1

environment:
sdk: ^3.8.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.18.6

* Replaces internal use of deprecated methods.

## 2.18.5

* Updates to Pigeon 26.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,8 @@ static String interpretPolygonOptions(Messages.PlatformPolygon polygon, PolygonO
sink.setConsumeTapEvents(polygon.getConsumesTapEvents());
sink.setGeodesic(polygon.getGeodesic());
sink.setVisible(polygon.getVisible());
sink.setFillColor(polygon.getFillColor().intValue());
sink.setStrokeColor(polygon.getStrokeColor().intValue());
sink.setFillColor(polygon.getFillColor().getArgbValue().intValue());
sink.setStrokeColor(polygon.getStrokeColor().getArgbValue().intValue());
sink.setStrokeWidth(polygon.getStrokeWidth());
sink.setZIndex(polygon.getZIndex());
sink.setPoints(pointsFromPigeon(polygon.getPoints()));
Expand All @@ -654,7 +654,7 @@ static String interpretPolylineOptions(
AssetManager assetManager,
float density) {
sink.setConsumeTapEvents(polyline.getConsumesTapEvents());
sink.setColor(polyline.getColor().intValue());
sink.setColor(polyline.getColor().getArgbValue().intValue());
sink.setEndCap(capFromPigeon(polyline.getEndCap(), assetManager, density));
sink.setStartCap(capFromPigeon(polyline.getStartCap(), assetManager, density));
sink.setGeodesic(polyline.getGeodesic());
Expand All @@ -669,8 +669,8 @@ static String interpretPolylineOptions(

static String interpretCircleOptions(Messages.PlatformCircle circle, CircleOptionsSink sink) {
sink.setConsumeTapEvents(circle.getConsumeTapEvents());
sink.setFillColor(circle.getFillColor().intValue());
sink.setStrokeColor(circle.getStrokeColor().intValue());
sink.setFillColor(circle.getFillColor().getArgbValue().intValue());
sink.setStrokeColor(circle.getStrokeColor().getArgbValue().intValue());
sink.setStrokeWidth(circle.getStrokeWidth());
sink.setZIndex(circle.getZIndex().floatValue());
sink.setCenter(toLatLng(circle.getCenter().toList()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public PlatformView create(@NonNull Context context, int id, @Nullable Object ar
builder.setInitialTileOverlays(params.getInitialTileOverlays());
builder.setInitialGroundOverlays(params.getInitialGroundOverlays());

final String cloudMapId = mapConfig.getCloudMapId();
final String cloudMapId = mapConfig.getMapId();
if (cloudMapId != null) {
builder.setMapId(cloudMapId);
}
Expand Down
Loading