- Timestamp:
- 2012-11-04T01:48:11+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/Map_Rectifier_WMSmenuAction.java
r5460 r5562 39 39 private final Pattern idValidator; 40 40 public JRadioButton btn; 41 41 42 /** 42 * @param name :Name of the rectifing service43 * @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 placed45 * @param urlRegEx :a regular expression that determines if a given URL is one of the service and returns the WMS id if so46 * @param idValidator :regular expression that checks if a given ID is syntactically valid43 * @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 47 48 */ 48 49 public RectifierService(String name, String url, String wmsUrl, String urlRegEx, String idValidator) { … … 86 87 ); 87 88 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" 94 92 + "&styles=&format=image/png&srs=epsg:4326&exceptions=application/vnd.ogc.se_inimage&", 95 93 // This matches more than the "classic" WMS link, so users can pretty much … … 215 213 /** 216 214 * Adds a WMS Layer with given title and URL 217 * @param title :Name of the layer as it will shop up in the layer manager218 * @param url :URL to the WMS server215 * @param title Name of the layer as it will shop up in the layer manager 216 * @param url URL to the WMS server 219 217 */ 220 218 private void addWMSLayer(String title, String url) {
Note:
See TracChangeset
for help on using the changeset viewer.