Changeset 5679 in osm for applications/editors/josm/plugins/slippymap/src
- Timestamp:
- 2007-11-22T14:44:21+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/slippymap/src/org/openstreetmap/josm/plugins/slippymap/SlippyMapLayer.java
r5676 r5679 39 39 { 40 40 41 ArrayList<HashMap<Integer, SlippyMapTile>> tileStorage = new ArrayList<HashMap<Integer, SlippyMapTile>>( 42 20); 41 ArrayList<HashMap<Integer, SlippyMapTile>> tileStorage = null; 43 42 44 43 Point[][] pixelpos = new Point[21][21]; … … 55 54 { 56 55 super("Slippy Map"); 57 for (int i = 0; i < 18; i++) 58 tileStorage.add(new HashMap<Integer, SlippyMapTile>());56 57 clearTileStorage(); 59 58 60 59 tileOptionMenu = new JPopupMenu(); … … 146 145 } 147 146 147 private void clearTileStorage() 148 { 149 tileStorage = new ArrayList<HashMap<Integer, SlippyMapTile>>(20); 150 151 for (int i = 0; i < 18; i++) 152 tileStorage.add(new HashMap<Integer, SlippyMapTile>()); 153 } 154 148 155 void loadAllTiles() 149 156 {
Note:
See TracChangeset
for help on using the changeset viewer.