Ignore:
Timestamp:
2011-08-18T13:01:55+02:00 (8 years ago)
Author:
bastiK
Message:

mappaint: split NodeElemStyle into icon/symbol part and text part

File:
1 edited

Legend:

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

    r4191 r4319  
    44public class QuadTiling
    55{
    6     public static int NR_LEVELS = 24;
    7     public static double WORLD_PARTS = (1 << NR_LEVELS);
     6    public static final int NR_LEVELS = 24;
     7    public static final double WORLD_PARTS = (1 << NR_LEVELS);
    88
    9     public static int TILES_PER_LEVEL_SHIFT = 2; // Has to be 2. Other parts of QuadBuckets code rely on it
    10     public static int TILES_PER_LEVEL = 1<<TILES_PER_LEVEL_SHIFT;
    11     static public int X_PARTS = 360;
    12     static public int X_BIAS = -180;
     9    public static final int TILES_PER_LEVEL_SHIFT = 2; // Has to be 2. Other parts of QuadBuckets code rely on it
     10    public static final int TILES_PER_LEVEL = 1<<TILES_PER_LEVEL_SHIFT;
     11    static public final int X_PARTS = 360;
     12    static public final int X_BIAS = -180;
    1313
    14     static public int Y_PARTS = 180;
    15     static public int Y_BIAS = -90;
     14    static public final int Y_PARTS = 180;
     15    static public final int Y_BIAS = -90;
    1616
    1717    public static LatLon tile2LatLon(long quad)
Note: See TracChangeset for help on using the changeset viewer.