diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4528470..d262751 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -47,6 +47,6 @@ dependencies { implementation("androidx.core:core-ktx:1.13.1") implementation("androidx.appcompat:appcompat:1.7.0") implementation("com.google.android.material:material:1.12.0") - implementation("org.maplibre.gl:android-sdk:11.1.0") - implementation("org.maplibre.gl:android-plugin-annotation-v9:3.0.0") + implementation("org.maplibre.gl:android-sdk:11.4.0") + implementation("org.maplibre.gl:android-plugin-annotation-v9:3.0.1") } \ No newline at end of file diff --git a/app/src/main/kotlin/io/jawg/example/maplibre/DataMapActivity.kt b/app/src/main/kotlin/io/jawg/example/maplibre/DataMapActivity.kt index 8b5181f..cf49413 100644 --- a/app/src/main/kotlin/io/jawg/example/maplibre/DataMapActivity.kt +++ b/app/src/main/kotlin/io/jawg/example/maplibre/DataMapActivity.kt @@ -62,7 +62,8 @@ class DataMapActivity : Activity() { .withProperties( PropertyFactory.iconImage(MARKER_ICON), PropertyFactory.iconAnchor(Property.ICON_ANCHOR_BOTTOM), - PropertyFactory.iconAllowOverlap(true) + PropertyFactory.iconAllowOverlap(true), + PropertyFactory.iconIgnorePlacement(true) ) // Add the layer to the map diff --git a/settings.gradle.kts b/settings.gradle.kts index bdc68be..14de43b 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -9,8 +9,8 @@ pluginManagement { gradlePluginPortal() } plugins { - id("com.android.application") version "8.5.1" - id("com.android.library") version "8.5.1" + id("com.android.application") version "8.6.1" + id("com.android.library") version "8.6.1" id("org.jetbrains.kotlin.android") version "1.9.23" } }