You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 66acaa8
Browse filesBrowse the repository at this point in the historyBrowse files
[google_maps_flutter_web] Issue 64073 implement my location (flutter#12186)
Implement my location button, add blue dot location
Fixesflutter/flutter#64073
## Pre-Review Checklist
**Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.
[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Copy file name to clipboardExpand all lines: packages/google_maps_flutter/google_maps_flutter_web/README.md
-5Lines changed: 0 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,11 +100,6 @@ The following map options are not available in web, because the map doesn't rota
100
100
101
101
There's no "Map Toolbar" in web, so the `mapToolbarEnabled` option is unused.
102
102
103
-
There's no "My Location" widget in web ([tracking issue](https://github.com/flutter/flutter/issues/64073)), so the following options are ignored, for now:
104
-
105
-
*`myLocationButtonEnabled`
106
-
*`myLocationEnabled`
107
-
108
103
There's no `defaultMarkerWithHue` in web. If you need colored pins/markers, you may need to use your own asset images.
109
104
110
105
Indoor and building layers are still not available on the web. Traffic is.
Copy file name to clipboardExpand all lines: packages/google_maps_flutter/google_maps_flutter_web/example/latest/integration_test/google_maps_controller_test.dart
Copy file name to clipboardExpand all lines: packages/google_maps_flutter/google_maps_flutter_web/example/latest/integration_test/google_maps_controller_test.mocks.dart
+86Lines changed: 86 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -498,3 +498,89 @@ class MockGroundOverlaysController extends _i1.Mock implements _i2.GroundOverlay
498
498
returnValueForMissingStub:null,
499
499
);
500
500
}
501
+
502
+
/// A class which mocks [MyLocationController].
503
+
///
504
+
/// See the documentation for Mockito's code generation for more information.
Copy file name to clipboardExpand all lines: packages/google_maps_flutter/google_maps_flutter_web/example/latest/integration_test/google_maps_plugin_test.mocks.dart
+50Lines changed: 50 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -120,6 +120,7 @@ class MockGoogleMapController extends _i1.Mock implements _i4.GoogleMapControlle
0 commit comments