summaryrefslogtreecommitdiff
path: root/altoslib/AltosMapStore.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-10-06 20:21:07 -0700
committerKeith Packard <keithp@keithp.com>2018-10-06 21:33:08 -0700
commitff5faf1cc710b7e9299dcaec719bc2421f4ca5b4 (patch)
tree57fb8bfe774e49c52dfa9975b7773579cb33bd48 /altoslib/AltosMapStore.java
parent21c630af7181a03b44cfcfa1cc787212501785ec (diff)
altoslib: Change map loading to lat=&lon= from center=
This is easier to parse. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosMapStore.java')
-rw-r--r--altoslib/AltosMapStore.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altoslib/AltosMapStore.java b/altoslib/AltosMapStore.java
index abd8c240..7e0f3fb8 100644
--- a/altoslib/AltosMapStore.java
+++ b/altoslib/AltosMapStore.java
@@ -57,7 +57,7 @@ public class AltosMapStore {
}
private static String altos_map_url(AltosLatLon center, int zoom, int maptype, int px_size, int scale, String format_string) {
- return String.format("https://maps.altusmetrum.org/altos-map?center=%.6f,%.6f&zoom=%d",
+ return String.format("https://maps.altusmetrum.org/cgi-bin/altos-map?lat=%.6f&lon=%.6f&zoom=%d",
center.lat, center.lon, zoom);
}