Changeset 31652 in osm for applications/editors/josm/plugins/utilsplugin2/src
- Timestamp:
- 2015-10-19T19:59:59+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/customurl/OpenPageAction.java
r29769 r31652 21 21 import org.openstreetmap.josm.data.osm.OsmPrimitiveType; 22 22 import org.openstreetmap.josm.tools.OpenBrowser; 23 import org.openstreetmap.josm.tools.OsmUrlToBounds; 23 24 import org.openstreetmap.josm.tools.Shortcut; 24 25 … … 72 73 } else if (key.equals("#lon")) { 73 74 val = Double.toString(center.lon()); 75 } else if (key.equals("#zoom")) { 76 val = Integer.toString(OsmUrlToBounds.getZoom(Main.map.mapView.getRealBounds())); 74 77 } 75 78 else {
Note:
See TracChangeset
for help on using the changeset viewer.