-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[google_maps_flutter_web] First version of the plugin. #2933
Conversation
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
@googlebot I consent. |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
nit: I think should be And is it strictly required that I be using your version of
It seems like you have a strict dependency on |
@jfreeland you're right! I don't even know the name of the package anymore, I've fixed the instructions in the PR. I have published all the changes to other packages, so as long as you have google_maps_flutter: |
packages/google_maps_flutter/google_maps_flutter_web/lib/src/circle.dart
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_web/lib/src/circle.dart
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_web/lib/src/circle.dart
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_web/lib/src/marker.dart
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_web/lib/src/markers.dart
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_web/lib/src/markers.dart
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_web/lib/src/markers.dart
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_web/lib/src/polygon.dart
Outdated
Show resolved
Hide resolved
implement : * tab * long press * moveCamera * getVisibleRegion * getScreenCoordinate * getLatLng * getZoomLevel
* Sanitize title/content to prevent XSS * Open InfoWindow automatically on marker click * Do not render infoWindow if it's empty * Update contents of infoWindow alongside its Marker
…roller. Substitute direct access by semantic methods. Use those methods in the platform implementation instead.
… Maps Controller.
…able dispose method.
…o the GoogleMapController.
* Add a few changes to the controller to allow for overrides when testing. * Make some conversion functions more null-resilient. * Fix some inconsistencies in some conversion function naming.
Also: * Add copyright notices to dart files * Add analysis_options.yaml file * Tweak build all script to let it know this package has its own analysis_options file. * Extract some types that were randomly strawn around the code to a types.dart file.
(Rebased to get the latest changes to the build scripts from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This has been published and tagged as v0.1.0: |
This package introduces the first version of the google_maps_flutter_web plugin. See README for installation instructions. Co-authored-by: chung2012 <[email protected]>
This package introduces the first version of the google_maps_flutter_web plugin. See README for installation instructions. Co-authored-by: chung2012 <[email protected]>
This package introduces the first version of the google_maps_flutter_web plugin. See README for installation instructions. Co-authored-by: chung2012 <[email protected]>
Description
This is the first version of the Google Maps plugin for web, started by @cylyl, and finished by myself.
There are some missing features that were Android only, but I think I documented most of them in the README of the plugin.
Testing
If you want to manually test this plugin, I've published the standard maps example app here:
There's a good amount of unit tests in this PR. They need chromedriver to run. See the README of the
test
directory on how to run them. Here's more information: An introduction to integration testing.If anybody wants to test this branch into their App, use a Git dependency on the pubspec file, like so:
Then compile your app for the web. Get started here: Building a web application with Flutter.
Related Issues
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
). This will ensure a smooth and quick review process.///
).flutter analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?