aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2020-04-10 18:04:38 +0200
committersteckbrief <steckbrief@chefmail.de>2020-04-10 18:04:38 +0200
commit815e972b2c0891453a0fa028029b843e9b796537 (patch)
treef9b2206ce1bf77d9b618bc0e91da7260b034c245 /src/main/java/de
parent20501a168c10aa994a3ecfac96e395291079d1cf (diff)
fixes faulty staticmap generation url; query parameter value for 'zoom' was prefixed with %20
Diffstat (limited to 'src/main/java/de')
-rw-r--r--src/main/java/de/pixart/messenger/utils/GeoHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/GeoHelper.java b/src/main/java/de/pixart/messenger/utils/GeoHelper.java
index 22469e021..6f04e5bb4 100644
--- a/src/main/java/de/pixart/messenger/utils/GeoHelper.java
+++ b/src/main/java/de/pixart/messenger/utils/GeoHelper.java
@@ -44,7 +44,7 @@ public class GeoHelper {
return null;
}
- return BuildConfig.STATICMAP_URL + "?center=" + latitude + "," + longitude + "&size=500x500&markers=" + latitude + "," + longitude + "&zoom= " + Config.DEFAULT_ZOOM;
+ return BuildConfig.STATICMAP_URL + "?center=" + latitude + "," + longitude + "&size=500x500&markers=" + latitude + "," + longitude + "&zoom=" + Config.DEFAULT_ZOOM;
}
private static GeoPoint parseGeoPoint(String body) throws IllegalArgumentException {