Changeset 18712 in osm for applications/editors/josm/plugins/wmsplugin/src
- Timestamp:
- 2009-11-20T09:19:03+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSGrabber.java
r17561 r18712 34 34 35 35 public class WMSGrabber extends Grabber { 36 37 returnurl != null && url.contains("{") && url.contains("}");38 36 public static boolean isUrlWithPatterns(String url) { 37 return url != null && url.contains("{") && url.contains("}"); 38 } 39 39 40 40 protected String baseURL; … … 102 102 str = str.replaceAll("\\{proj\\}", myProj) 103 103 .replaceAll("\\{bbox\\}", bbox) 104 .replaceAll("\\{w\\}", latLonFormat.format(w)) 105 .replaceAll("\\{s\\}", latLonFormat.format(s)) 106 .replaceAll("\\{e\\}", latLonFormat.format(e)) 107 .replaceAll("\\{n\\}", latLonFormat.format(n)) 104 108 .replaceAll("\\{width\\}", String.valueOf(wi)) 105 109 .replaceAll("\\{height\\}", String.valueOf(ht));
Note:
See TracChangeset
for help on using the changeset viewer.