Changeset 5562 in josm for trunk


Ignore:
Timestamp:
2012-11-04T01:48:11+01:00 (12 years ago)
Author:
Don-vip
Message:

see #8107 - Change Map Warper url to mapwarper.net in Rectified Image dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/Map_Rectifier_WMSmenuAction.java

    r5460 r5562  
    3939        private final Pattern idValidator;
    4040        public JRadioButton btn;
     41       
    4142        /**
    42          * @param name: Name of the rectifing service
    43          * @param url: URL to the service where users can register, upload, etc.
    44          * @param wmsUrl: URL to the WMS server where JOSM will grab the images. Insert __s__ where the ID should be placed
    45          * @param urlRegEx: a regular expression that determines if a given URL is one of the service and returns the WMS id if so
    46          * @param idValidator: regular expression that checks if a given ID is syntactically valid
     43         * @param name Name of the rectifing service
     44         * @param url URL to the service where users can register, upload, etc.
     45         * @param wmsUrl URL to the WMS server where JOSM will grab the images. Insert __s__ where the ID should be placed
     46         * @param urlRegEx a regular expression that determines if a given URL is one of the service and returns the WMS id if so
     47         * @param idValidator regular expression that checks if a given ID is syntactically valid
    4748         */
    4849        public RectifierService(String name, String url, String wmsUrl, String urlRegEx, String idValidator) {
     
    8687        );
    8788        services.add(
    88                 // TODO: Change all links to mapwarper.net once the project has moved.
    89                 // The RegEx already matches the new URL and old URLs will be forwarded
    90                 // to make the transition as smooth as possible for the users
    91                 new RectifierService("Geothings Map Warper",
    92                         "http://warper.geothings.net/",
    93                         "http://warper.geothings.net/maps/wms/__s__?request=GetMap&version=1.1.1"
     89                new RectifierService("Map Warper",
     90                        "http://mapwarper.net/",
     91                        "http://mapwarper.net/maps/wms/__s__?request=GetMap&version=1.1.1"
    9492                        + "&styles=&format=image/png&srs=epsg:4326&exceptions=application/vnd.ogc.se_inimage&",
    9593                        // This matches more than the "classic" WMS link, so users can pretty much
     
    215213    /**
    216214     * Adds a WMS Layer with given title and URL
    217      * @param title: Name of the layer as it will shop up in the layer manager
    218      * @param url: URL to the WMS server
     215     * @param title Name of the layer as it will shop up in the layer manager
     216     * @param url URL to the WMS server
    219217     */
    220218    private void addWMSLayer(String title, String url) {
Note: See TracChangeset for help on using the changeset viewer.