fixes faulty staticmap generation url; query parameter value for 'zoom' was prefixed with %20

This commit is contained in:
steckbrief 2020-04-10 18:04:38 +02:00
parent 20501a168c
commit 815e972b2c

View file

@ -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 {