From a8ca363e4ac4130ba9b75b69769a218f4a12ccc9 Mon Sep 17 00:00:00 2001 From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com> Date: Tue, 31 Oct 2023 20:40:35 +0100 Subject: [PATCH] Switch to api.openstreetmap.org API host, use HTTPS for tile url --- build.gradle | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 7008dd51..ad8c5bba 100644 --- a/build.gradle +++ b/build.gradle @@ -98,12 +98,12 @@ android { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - buildConfigField "String", "BASE_OSM_URL", '"https://www.openstreetmap.org/api/0.6/"' + buildConfigField "String", "BASE_OSM_URL", '"https://api.openstreetmap.org/api/0.6/"' } debug { versionNameSuffix ".debug-3" - buildConfigField "String", "BASE_OSM_URL", '"https://www.openstreetmap.org/api/0.6/"' + buildConfigField "String", "BASE_OSM_URL", '"https://api.openstreetmap.org/api/0.6/"' } } @@ -121,7 +121,7 @@ android { buildConfigField "boolean", "WITH_FILTER", "true" buildConfigField "float", "ZOOM_MARKER_MIN", "17f" buildConfigField "float", "ZOOM_MAX", "21.99f" - buildConfigField "String", "MAP_URL", '"http://tile.openstreetmap.org/{z}/{x}/{y}.png"' + buildConfigField "String", "MAP_URL", '"https://tile.openstreetmap.org/{z}/{x}/{y}.png"' buildConfigField "String", "MAP_STYLE_URL", '"https://gist.githubusercontent.com/anonymous/c1fdbffff5c4e25eb267696e8247dec1/raw/1590b94bfc01433b706d51cf117506a760d14199/57a357f3e4b0dc55a4ea6ffa.json"' buildConfigField "String", "MAP_STYLE", '"asset://mapnik.json"' buildConfigField "String", "BASE_OVERPASS_URL", '"http://overpass-api.de/api/interpreter/"' @@ -145,7 +145,7 @@ android { buildConfigField "float", "ZOOM_MARKER_MIN", "14f" buildConfigField "float", "ZOOM_MAX", "21.99f" buildConfigField "boolean", "WITH_FILTER", "false" - buildConfigField "String", "MAP_URL", '"http://tile.openstreetmap.org/{z}/{x}/{y}.png"' + buildConfigField "String", "MAP_URL", '"https://tile.openstreetmap.org/{z}/{x}/{y}.png"' buildConfigField "String", "MAP_STYLE_URL", '"https://gist.githubusercontent.com/anonymous/c1fdbffff5c4e25eb267696e8247dec1/raw/1590b94bfc01433b706d51cf117506a760d14199/57a357f3e4b0dc55a4ea6ffa.json"' buildConfigField "String", "MAP_STYLE", '"asset://mapnik.json"' buildConfigField "String", "BASE_OVERPASS_URL", '"http://overpass-api.de/api/interpreter/"' @@ -281,4 +281,4 @@ task checkstyle(type: Checkstyle) { preBuild.dependsOn('checkstyle') -apply plugin: 'com.google.gms.google-services' \ No newline at end of file +apply plugin: 'com.google.gms.google-services'