Ignore:
Timestamp:
2017-04-03T15:03:26+02:00 (3 years ago)
Author:
bastiK
Message:

see #7427 - add implementations for new TileSource methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java

    r10915 r11830  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.data.coor;
     3
     4import org.openstreetmap.gui.jmapviewer.interfaces.IProjected;
    35
    46/**
     
    2022    public EastNorth(double east, double north) {
    2123        super(east, north);
     24    }
     25
     26    /**
     27     * Constructs a new {@code EastNorth} from {@link IProjected}.
     28     * @param p projected coordinates
     29     */
     30    public EastNorth(IProjected p) {
     31        super(p.getEast(), p.getNorth());
    2232    }
    2333
Note: See TracChangeset for help on using the changeset viewer.