Changeset 32085 in osm
- Timestamp:
- 2016-02-28T23:27:13+01:00 (9 years ago)
- Location:
- applications/viewer/jmapviewer
- Files:
-
- 1 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/build.xml
r31904 r32085 78 78 <target name="checkstyle"> 79 79 <taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties" 80 classpath="tools/checkstyle/checkstyle-6.1 4.1-all.jar"/>80 classpath="tools/checkstyle/checkstyle-6.16-all.jar"/> 81 81 <checkstyle config="tools/checkstyle/jmapviewer_checks.xml"> 82 82 <fileset dir="${basedir}/src" includes="**/*.java" /> -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/TMSTileSource.java
r32025 r32085 9 9 import org.openstreetmap.gui.jmapviewer.interfaces.ICoordinate; 10 10 11 /** 12 * TMS tile source. 13 */ 11 14 public class TMSTileSource extends AbstractTMSTileSource { 12 15 … … 15 18 protected OsmMercator osmMercator; 16 19 20 /** 21 * Constructs a new {@code TMSTileSource}. 22 * @param info tile source information 23 */ 17 24 public TMSTileSource(TileSourceInfo info) { 18 25 super(info); … … 31 38 return (maxZoom == 0) ? super.getMaxZoom() : maxZoom; 32 39 } 40 33 41 @Override 34 42 public double getDistance(double lat1, double lon1, double lat2, double lon2) {
Note:
See TracChangeset
for help on using the changeset viewer.