Skip to content

Conversation

@valerierx
Copy link
Contributor

@valerierx valerierx commented Jul 7, 2023

This fixes #969 but requires setting the minimum Android version to 5.0. It may need more testing since breaking changes may be present in org.maplibre.gl:android-sdk.

@ale5000-git
Copy link
Member

ale5000-git commented Jul 8, 2023

but requires setting the minimum Android version to ...

Or tools:overrideLibrary can be used to ovverride the minimum SDK value.

@fynngodau
Copy link
Member

Indeed, it's great that maplibre finally has a new release for the annotations plugin :)

Current microG contains version 10.0.0 of maplibre-native, which already requires API 21. We therefore instruct the manifest merger to ignore this here: https://github.com/microg/GmsCore/blob/master/play-services-maps-core-mapbox/src/main/AndroidManifest.xml#L32

Since version 2.0.0 of maplibre-plugins aligns its minSdk with maplibre-native, we should add com.mapbox.mapboxsdk.plugins.annotation in the same place. A small note, API 21 corresponds to Android 5, not 6.

It may need more testing since breaking changes may be present in org.maplibre.gl:android-sdk.

Fortunately this is not the case: 10.2.0 is documented to be identical to 10.0.2, which contains barely any changes, just like 10.0.1.

@mar-v-in
Copy link
Member

mar-v-in commented Jul 8, 2023

@VxlerieUwU I think you wanted to do

<uses-sdk tools:overrideLibrary="com.mapbox.mapboxsdk,com.mapbox.mapboxsdk.plugins.annotation" />

@valerierx
Copy link
Contributor Author

@VxlerieUwU I think you wanted to do

<uses-sdk tools:overrideLibrary="com.mapbox.mapboxsdk,com.mapbox.mapboxsdk.plugins.annotation" />

Thanks!

@mar-v-in mar-v-in merged commit 0e929a5 into microg:master Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Poor map performance with many markers/layers

4 participants