summaryrefslogtreecommitdiff
path: root/altoslib/AltosMapTile.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-05-26 00:29:53 -0700
committerKeith Packard <keithp@keithp.com>2015-05-26 00:29:53 -0700
commit501fa41111b93cc213a1114a33612858e1e93ab5 (patch)
tree3b525c2b8a1b4fb2f6d9e0b740ef66a2e86d4e31 /altoslib/AltosMapTile.java
parentcb23b992be8ba40c97d8988c134a814a13ccd58c (diff)
altoslib/altosuilib: Get new Map display code running in altosui and telegps
Looks like the display is all hooked up. Still need to replace the preload UIs. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosMapTile.java')
-rw-r--r--altoslib/AltosMapTile.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/altoslib/AltosMapTile.java b/altoslib/AltosMapTile.java
index e61746f8..165f9e6f 100644
--- a/altoslib/AltosMapTile.java
+++ b/altoslib/AltosMapTile.java
@@ -99,6 +99,7 @@ public abstract class AltosMapTile implements AltosFontListener {
public AltosMapTile(AltosMapTileListener listener, AltosLatLon upper_left, AltosLatLon center, int zoom, int maptype, int px_size) {
this.listener = listener;
this.upper_left = upper_left;
+ this.cache = listener.cache();
while (center.lon < -180.0)
center.lon += 360.0;