-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DO NOT MERGE] Feat/google maps flutter ground overlay support #9
[DO NOT MERGE] Feat/google maps flutter ground overlay support #9
Conversation
db7e48b
to
b04e31f
Compare
316f241
to
0d259ee
Compare
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.
Looks good! Several code and comments related comments
...google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java
Outdated
Show resolved
Hide resolved
...google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java
Outdated
Show resolved
Hide resolved
...google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java
Outdated
Show resolved
Hide resolved
...aps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/ground_overlay.dart
Outdated
Show resolved
Hide resolved
...aps_flutter/google_maps_flutter_ios/example/shared/maps_example_dart/lib/ground_overlay.dart
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_web/lib/src/ground_overlays.dart
Outdated
Show resolved
Hide resolved
/// Returns the [GroundOverlay] with the given [GroundOverlayId] for testing | ||
/// purposes. |
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.
I wonder if "for testing purposes" could be used along with the @visibleForTesting
annotation?
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.
Yes, it would be nice, but this is used in GoogleMapsInspectorWeb which is not test file... even when it is meant to be used as testing support class only.
causing following linting error:
The member 'getGroundOverlay' can only be used within 'package:google_maps_flutter_web/src/ground_overlays.dart' or a test.dart[invalid_use_of_visible_for_testing_member](https://dart.dev/diagnostics/invalid_use_of_visible_for_testing_member)
packages/google_maps_flutter/google_maps_flutter/example/lib/ground_overlay.dart
Outdated
Show resolved
Hide resolved
...ges/google_maps_flutter/google_maps_flutter_android/lib/src/google_maps_flutter_android.dart
Outdated
Show resolved
Hide resolved
...ges/google_maps_flutter/google_maps_flutter_android/lib/src/google_maps_flutter_android.dart
Outdated
Show resolved
Hide resolved
Thanks, @aednlaxer! |
* test: add initial ios integration tests * fix integration tests for iOS * fix: add zoom level assert to ios groundoverlays * test: ios ground overlay unit tests * test: refactor integration tests * refactor: pr fixes and refactoring --------- Co-authored-by: Joonas Kerttula <[email protected]>
add assert if bitmapScaling is not MapBitmapScaling.none
…id/src/main/java/io/flutter/plugins/googlemaps/Convert.java Co-authored-by: Alexander Troshkov <[email protected]>
…rc/google_maps_flutter_android.dart Co-authored-by: Alexander Troshkov <[email protected]>
…rc/google_maps_flutter_android.dart Co-authored-by: Alexander Troshkov <[email protected]>
2edb03a
to
6c72f3f
Compare
Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.
List which issues are fixed by this PR. You must list at least one issue.
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style, or this PR is exempt from CHANGELOG changes.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.