Skip to content
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

feat(maplibre-adapter): MapLibreView and Geo adapter integration #1568

Merged
merged 12 commits into from
Nov 23, 2021

Conversation

drochetti
Copy link
Contributor

Notes:

  • split implementation between MapLibreView and AmplifyMapView
  • the former is the standard MapBox/MapLibre map with built-in integration with the Amazon Location tilemap provider
  • the latter is a batteries-included MapView, with standard UI controls and upcoming integration with Search and Map markers

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

**Notes:**

- turn Adapter into an instantiable type to facilitate testing / dependency injection
- reduce the boilerplate for MapView to work
**Notes:**

- split implementation between MapLibreView and AmplifyMapView
- the former is the standard MapBox/MapLibre map with built-in integration with the Amazon Location tilemap provider
- the latter is a batteries-included MapView, with standard UI controls and upcoming integration with Search and Map markers
@drochetti drochetti requested review from raphkim and a team November 10, 2021 23:15
@drochetti drochetti added the geo Related to the Geo category/plugins label Nov 10, 2021
maplibre-adapter/gradle.properties Outdated Show resolved Hide resolved
Comment on lines -33 to -39
/**
* Configure MapLibre Adapter's auth provider.
*/
@Before
fun setUpAuth() {
AmplifyMapLibreAdapter.auth = TestCategory.forPlugin(AWSCognitoAuthPlugin()) as AuthCategory
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this is good to leave here so that whenever we add new test suites in this class, we make sure to build a fresh category per test case

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved it to the MapViewTestActivity, but I'll move it back to re-create per test case

@raphkim
Copy link
Contributor

raphkim commented Nov 10, 2021

few things to address before final approval:

  • gradle 7 compatibility with release scripts (only if we are supporting compose)
  • minSDK bump impact
  • documentation changes to address breaking changes

@drochetti drochetti changed the title add AmplifyMapView with built-in controls feat(maplibre-adapter): MapLibreView and Geo adapter integration Nov 22, 2021
@raphkim raphkim merged commit 0e0fd3f into main Nov 23, 2021
@raphkim raphkim deleted the feature/amplify-mapview branch November 23, 2021 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
geo Related to the Geo category/plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants