summaryrefslogtreecommitdiff
path: root/altoslib/AltosMap.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-05-26 19:47:04 -0700
committerKeith Packard <keithp@keithp.com>2015-05-26 19:47:04 -0700
commit7975d088a4ac44c0943134fa41d0e3b88f50b98f (patch)
treea4213f36420604ee6ff11ff348d53cc28d81ec07 /altoslib/AltosMap.java
parentf822b84d8c25159ff113fef6a419b6e18e87a87a (diff)
altosdroid: Add offline map tab
It's not very fancy yet, but it does zoom and pan, and show the path of the rocket with a line. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosMap.java')
-rw-r--r--altoslib/AltosMap.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altoslib/AltosMap.java b/altoslib/AltosMap.java
index b54c66cf..bdb60f0c 100644
--- a/altoslib/AltosMap.java
+++ b/altoslib/AltosMap.java
@@ -287,7 +287,7 @@ public class AltosMap implements AltosMapTileListener, AltosMapStoreListener {
AltosLatLon ul = transform.lat_lon(new AltosPointDouble(x, y));
AltosLatLon center = transform.lat_lon(new AltosPointDouble(x + AltosMap.px_size/2, y + AltosMap.px_size/2));
AltosMapTile tile = map_interface.new_tile(this, ul, center, zoom, maptype,
- AltosMap.px_size);
+ px_size);
tiles.put(point, tile);
}
}