Changeset 29162 in osm for applications/viewer/jmapviewer
- Timestamp:
- 2013-01-04T07:33:26+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JMapViewer.java
r28505 r29162 3 3 //License: GPL. Copyright 2008 by Jan Peter Stotz 4 4 5 import java.awt.Color;6 5 import java.awt.Dimension; 7 6 import java.awt.Font; 8 7 import java.awt.Graphics; 9 import java.awt.Image;10 8 import java.awt.Insets; 11 9 import java.awt.Point; 12 import java.awt.Rectangle;13 10 import java.awt.event.ActionEvent; 14 11 import java.awt.event.ActionListener; 15 12 import java.awt.event.MouseEvent; 16 import java.awt.font.TextAttribute;17 import java.awt.geom.Rectangle2D;18 import java.util.HashMap;19 13 import java.util.LinkedList; 20 14 import java.util.List; … … 99 93 */ 100 94 public JMapViewer() { 101 this(new MemoryTileCache(), 4);95 this(new MemoryTileCache(), 8); 102 96 new DefaultMapController(this); 103 97 } … … 105 99 public JMapViewer(TileCache tileCache, int downloadThreadCount) { 106 100 super(); 101 JobDispatcher.WORKER_THREAD_MAX_COUNT = downloadThreadCount; 107 102 tileSource = new OsmTileSource.Mapnik(); 108 103 tileController = new TileController(tileSource, tileCache, this);
Note:
See TracChangeset
for help on using the changeset viewer.