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:
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user