Refactor map integration to use MapLibre instead of Mapbox

- Removed Mapbox dependencies and related configurations from settings.gradle.kts and build.gradle.kts.
- Implemented MapViewModel to manage zone data and loading state.
- Updated MapScreen to render zones using MapLibre, including loading indicators and error handling.
- Added GeoJSON generation for zone data to be displayed on the map.
- Updated libraries version to use MapLibre Compose.
This commit is contained in:
Redsandy
2026-03-14 23:58:27 +03:00
parent 4cc43a410b
commit ffc5d0887e
5 changed files with 193 additions and 36 deletions

View File

@@ -17,16 +17,6 @@ dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven {
url = uri("https://api.mapbox.com/downloads/v2/releases/maven")
credentials.username = "mapbox"
credentials.password = providers.gradleProperty("MAPBOX_DOWNLOADS_TOKEN")
.orElse(providers.environmentVariable("MAPBOX_DOWNLOADS_TOKEN"))
.getOrElse("")
authentication {
create<BasicAuthentication>("basic")
}
}
}
}