Ignore:
Timestamp:
2015-12-01T00:17:33+01:00 (10 years ago)
Author:
bastiK
Message:

mapcss: partial fill - fix for [9063] - use scale instead of circum (otherwise it would depend on latitude)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java

    r9073 r9076  
    215215
    216216    /**
    217      * @return Returns the center point. A copy is returned, so users cannot
    218      *      change the center by accessing the return value. Use zoomTo instead.
     217     * Returns the current center of the viewport.
     218     *
     219     * (Use {@link #zoomTo(EastNorth)} to the change the center.)
     220     *
     221     * @return the current center of the viewport
    219222     */
    220223    public EastNorth getCenter() {
     
    222225    }
    223226
     227    /**
     228     * Returns the current scale.
     229     *
     230     * In east/north units per pixel.
     231     *
     232     * @return the current scale
     233     */
    224234    public double getScale() {
    225235        return scale;
Note: See TracChangeset for help on using the changeset viewer.