Ignore:
Timestamp:
2015-06-20T13:27:47+02:00 (9 years ago)
Author:
donvip
Message:

[jmapviewer] checkstyle fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/OsmMercator.java

    r31135 r31293  
    88 * space is measured in pixels. The origin of the map space is the top left
    99 * corner. The map space origin (0,0) has latitude ~85 and longitude -180.
     10 * @author Jan Peter Stotz
     11 * @author Jason Huntley
    1012 */
    1113public class OsmMercator {
     
    3840    /**
    3941     * Creates instance with provided tile size.
    40      * @param tileSize
     42     * @param tileSize tile size in pixels
    4143     */
    4244    public OsmMercator(int tileSize) {
     
    7779     * @param zoomLevel the zoom level
    7880     * @return the distance
    79      * @author Jason Huntley
    8081     */
    8182    public double getDistance(int x1, int y1, int x2, int y2, int zoomLevel) {
     
    9697     * @param lo2 the Longitude from 2nd coordinate in degrees
    9798     * @return the distance
    98      * @author Jason Huntley
    9999     */
    100100    public double getDistance(double la1, double lo1, double la2, double lo2) {
     
    127127     *            [-180..180]
    128128     * @return [0..2^Zoomlevel*TILE_SIZE[
    129      * @author Jan Peter Stotz
    130129     */
    131130    public double LonToX(double aLongitude, int aZoomlevel) {
     
    151150     *            [-90...90]
    152151     * @return [0..2^Zoomlevel*TILE_SIZE[
    153      * @author Jan Peter Stotz
    154152     */
    155153    public double LatToY(double aLat, int aZoomlevel) {
     
    181179     *            [0..2^Zoomlevel*TILE_WIDTH[
    182180     * @return ]-180..180[
    183      * @author Jan Peter Stotz
    184181     */
    185182    public double XToLon(int aX, int aZoomlevel) {
Note: See TracChangeset for help on using the changeset viewer.