Changeset 16351 in osm for applications
- Timestamp:
- 2009-07-05T22:24:18+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/wmsplugin/src/wmsplugin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSGrabber.java
r16308 r16351 96 96 97 97 if (urlWithPatterns) { 98 str = str.replaceAll(" {proj}", proj)99 .replaceAll(" {bbox}", bbox)100 .replaceAll(" {width}", String.valueOf(wi))101 .replaceAll(" {height}", String.valueOf(ht));98 str = str.replaceAll("\\{proj\\}", proj) 99 .replaceAll("\\{bbox\\}", bbox) 100 .replaceAll("\\{width\\}", String.valueOf(wi)) 101 .replaceAll("\\{height\\}", String.valueOf(ht)); 102 102 } else { 103 103 if(!str.contains("?")) -
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSPlugin.java
r16308 r16351 99 99 name = prefs.get(key); 100 100 else if (elements[3].equals("url")) 101 url = prefs.get(key); 101 { 102 /* FIXME: Remove the if clause after some time */ 103 if(!prefs.get(key).startsWith("yahoo:")) /* legacy stuff */ 104 url = prefs.get(key); 105 } 102 106 else if (elements[3].equals("cookies")) 103 107 cookies = prefs.get(key);
Note:
See TracChangeset
for help on using the changeset viewer.