Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 3972c5d

Browse files
felangelMichael Klimushyn
authored and
Michael Klimushyn
committed
Fix iOS MyLocationButton on iOS (#2068)
1 parent 6c341f8 commit 3972c5d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

packages/google_maps_flutter/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.5.21+3
2+
3+
* Fix `myLocationButton` bug in `google_maps_flutter` iOS.
4+
15
## 0.5.21+2
26

37
* Fix more `prefer_const_constructors` analyzer warnings in example app.

packages/google_maps_flutter/ios/Classes/GoogleMapController.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ - (void)setZoomGesturesEnabled:(BOOL)enabled {
327327

328328
- (void)setMyLocationEnabled:(BOOL)enabled {
329329
_mapView.myLocationEnabled = enabled;
330-
_mapView.settings.myLocationButton = enabled;
331330
}
332331

333332
- (void)setMyLocationButtonEnabled:(BOOL)enabled {

packages/google_maps_flutter/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: google_maps_flutter
22
description: A Flutter plugin for integrating Google Maps in iOS and Android applications.
33
author: Flutter Team <[email protected]>
44
homepage: https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter
5-
version: 0.5.21+2
5+
version: 0.5.21+3
66

77
dependencies:
88
flutter:

0 commit comments

Comments
 (0)