Ignore:
Timestamp:
2009-11-20T09:19:03+01:00 (16 years ago)
Author:
stoecker
Message:

added some new URLs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSGrabber.java

    r17561 r18712  
    3434
    3535public class WMSGrabber extends Grabber {
    36         public static boolean isUrlWithPatterns(String url) {
    37                 return url != null && url.contains("{") && url.contains("}");
    38         }
     36    public static boolean isUrlWithPatterns(String url) {
     37        return url != null && url.contains("{") && url.contains("}");
     38    }
    3939       
    4040    protected String baseURL;
     
    102102            str = str.replaceAll("\\{proj\\}", myProj)
    103103            .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))
    104108            .replaceAll("\\{width\\}", String.valueOf(wi))
    105109            .replaceAll("\\{height\\}", String.valueOf(ht));
Note: See TracChangeset for help on using the changeset viewer.