Changeset 28505 in osm for applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JMapViewer.java
- Timestamp:
- 2012-07-23T19:28:26+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JMapViewer.java
r28427 r28505 661 661 /** 662 662 * Decreases the current zoom level by one 663 * 664 * @param mapPoint point to choose as center for new zoom level 663 665 */ 664 666 public void zoomOut(Point mapPoint) { … … 666 668 } 667 669 670 /** 671 * Set the zoom level and center point for display 672 * 673 * @param zoom new zoom level 674 * @param mapPoint point to choose as center for new zoom level 675 */ 668 676 public void setZoom(int zoom, Point mapPoint) { 669 677 if (zoom > tileController.getTileSource().getMaxZoom() || zoom < tileController.getTileSource().getMinZoom() … … 678 686 } 679 687 688 /** 689 * Set the zoom level 690 * 691 * @param zoom new zoom level 692 */ 680 693 public void setZoom(int zoom) { 681 694 setZoom(zoom, new Point(getWidth() / 2, getHeight() / 2)); … … 859 872 } 860 873 861 /* 862 * (non-Javadoc) 863 * 864 * @see 865 * org.openstreetmap.gui.jmapviewer.interfaces.TileLoaderListener#getTileCache 866 * () 874 /** 875 * Return tile information caching class 876 * @see TileLoaderListener#getTileCache() 867 877 */ 868 878 public TileCache getTileCache() { … … 877 887 878 888 /** 879 * @param listener to set889 * @param listener listener to set 880 890 */ 881 891 public void addJMVListener(JMapViewerEventListener listener) { … … 884 894 885 895 /** 886 * @param listener to remove896 * @param listener listener to remove 887 897 */ 888 898 public void removeJMVListener(JMapViewerEventListener listener) {
Note:
See TracChangeset
for help on using the changeset viewer.