customMapStyleUrl should end with style.json and should not have any trailing slash.
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ internal class MapTilerTileServerStyleUriBuilder(
|
||||
val mapId = if (darkMode) darkMapId else lightMapId
|
||||
append("$baseUrl/$mapId/style.json")
|
||||
} else {
|
||||
append(customMapStyleUrl.removeSuffix("/"))
|
||||
append(customMapStyleUrl)
|
||||
}
|
||||
append("?key=$apiKey")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user