Skip to content

Commit

Permalink
[google_maps_flutter_web ] Update README.md to discuss mouse issue wh…
Browse files Browse the repository at this point in the history
…en stacked (flutter#5875)
  • Loading branch information
idkq authored and mauricioluz committed Jan 26, 2023
1 parent 52074f4 commit 9b9eab5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ There's no `defaultMarkerWithHue` in web. If you need colored pins/markers, you
Indoor and building layers are still not available on the web. Traffic is.

Only Android supports "[Lite Mode](https://developers.google.com/maps/documentation/android-sdk/lite)", so the `liteModeEnabled` constructor argument can't be set to `true` on web apps.

Google Maps for web uses `HtmlElementView` to render maps. When a `GoogleMap` is stacked below other widgets, [`package:pointer_interceptor`](https://www.pub.dev/packages/pointer_interceptor) must be used to capture mouse events on the Flutter overlays. See issue [#73830](https://github.com/flutter/flutter/issues/73830).
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: google_maps_flutter_web
description: Web platform implementation of google_maps_flutter
repository: https://github.com/flutter/plugins/tree/main/packages/google_maps_flutter/google_maps_flutter_web
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
version: 0.4.0
version: 0.4.0+1

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down

0 comments on commit 9b9eab5

Please sign in to comment.