Skip to content

Commit

Permalink
Change map style URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
bubelov committed Oct 28, 2024
1 parent 356d421 commit f18c68c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/androidMain/kotlin/map/MapViewExtensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ fun MapLibreMap.initStyle(context: Context) {
context.resources.configuration.uiMode and Configuration.UI_MODE_NIGHT_MASK == Configuration.UI_MODE_NIGHT_YES

if (nightMode) {
setStyle("https://tiles.openfreemap.org/styles/positron")
setStyle("https://static.btcmap.org/map-styles/dark.json")
} else {
setStyle("https://tiles.openfreemap.org/styles/bright")
setStyle("https://static.btcmap.org/map-styles/light.json")
}
}

0 comments on commit f18c68c

Please sign in to comment.