Ignore:
Timestamp:
2011-02-08T19:52:58+01:00 (9 years ago)
Author:
stoecker
Message:

see #5532 - add missing addProjectsions() function nobody seems able to add when asked to do so

Location:
trunk/src/org/openstreetmap/josm/data/projection
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/Projection.java

    r3689 r3872  
    1313 */
    1414public interface Projection {
    15     /**
    16      * List of all available projections.
    17      */
    18     public static Projection[] allProjections = new Projection[]{
    19         // global projections
    20         new Epsg4326(),
    21         new Mercator(),
    22         new UTM(),
    23         // regional - alphabetical order by country name
    24         new LambertEST(), // Still needs proper default zoom
    25         new Lambert(),    // Still needs proper default zoom
    26         new LambertCC9Zones(),    // Still needs proper default zoom
    27         new UTM_France_DOM(),
    28         new TransverseMercatorLV(),
    29         new Puwg(),
    30         new Epsg3008(), // SWEREF99 13 30
    31         new SwissGrid(),
    32     };
    33 
    3415    /**
    3516     * Returns the default zoom scale in pixel per degree ({@see #NavigatableComponent#scale}))
  • trunk/src/org/openstreetmap/josm/data/projection/ProjectionInfo.java

    r3821 r3872  
    2121    static {
    2222        allCodes = new HashMap<String, Projection>();
    23         for (Projection proj : Projection.allProjections) {
     23        for (Projection proj : Projections.getProjections()) {
    2424            if (proj instanceof ProjectionSubPrefs) {
    2525                ProjectionSubPrefs projSub = recreateProj((ProjectionSubPrefs)proj);
Note: See TracChangeset for help on using the changeset viewer.