Changeset 29514 in osm for applications
- Timestamp:
- 2013-04-19T23:02:04+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/Demo.java
r29513 r29514 50 50 private JLabel mperpLabelValue = null; 51 51 52 /** 53 * Constructs the {@code Demo}. 54 */ 52 55 public Demo() { 53 56 super("JMapViewer Demo"); … … 93 96 } 94 97 }); 95 JComboBox <TileSource>tileSourceSelector = new JComboBox(new TileSource[] { new OsmTileSource.Mapnik(),98 JComboBox tileSourceSelector = new JComboBox(new TileSource[] { new OsmTileSource.Mapnik(), 96 99 new OsmTileSource.CycleMap(), new BingAerialTileSource(), new MapQuestOsmTileSource(), new MapQuestOpenAerialTileSource() }); 97 100 tileSourceSelector.addItemListener(new ItemListener() { … … 100 103 } 101 104 }); 102 JComboBox <TileLoader>tileLoaderSelector;105 JComboBox tileLoaderSelector; 103 106 try { 104 107 tileLoaderSelector = new JComboBox(new TileLoader[] { new OsmFileCacheTileLoader(map()),
Note:
See TracChangeset
for help on using the changeset viewer.