Changeset 30628 in osm for applications/viewer/jmapviewer/src/org
- Timestamp:
- 2014-09-07T11:05:33+02:00 (10 years ago)
- Location:
- applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/Coordinate.java
r30478 r30628 77 77 return true; 78 78 } 79 80 81 79 } -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/DefaultMapController.java
r30406 r30628 67 67 public void mousePressed(MouseEvent e) { 68 68 debugMouseEvent("DefaultMapController.mousePressed", e); 69 69 70 70 if (e.getButton() == movementMouseButton || isPlatformOsx() && e.getModifiersEx() == MAC_MOUSE_BUTTON3_MASK) { 71 71 if (JMapViewer.debug) { … … 76 76 } 77 77 } 78 78 79 79 public void mouseReleased(MouseEvent e) { 80 80 debugMouseEvent("DefaultMapController.mouseReleased", e); … … 93 93 } 94 94 } 95 95 96 96 public void mouseWheelMoved(MouseWheelEvent e) { 97 97 if (wheelZoomEnabled) { -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JMapViewer.java
r30426 r30628 44 44 45 45 private static final long serialVersionUID = 1L; 46 46 47 47 public static boolean debug = false; 48 48 -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/OsmTileSource.java
r30336 r30628 17 17 18 18 private int SERVER_NUM = 0; 19 19 20 20 /** 21 21 * Constructs a new {@code "Mapnik"} tile source. -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/ScanexTileSource.java
r30249 r30628 94 94 return (int )(latToTileY(lat, zoom) * OsmMercator.TILE_SIZE); 95 95 } 96 96 97 97 @Override 98 98 public double YToLat(int y, int zoom) {
Note:
See TracChangeset
for help on using the changeset viewer.