altoslib/altosuilib: Get new Map display code running in altosui and telegps
[fw/altos] / altoslib / AltosMapTile.java
index e61746f8bf0b14c240ab9d8a47b6d65285f25244..165f9e6f96827b7e139da1debc3f39b3b8650c42 100644 (file)
@@ -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;