Changeset 4935 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2012-02-15T13:04:26+01:00 (13 years ago)
Author:
stoecker
Message:

see #7073 - add empty styles argument to WMS urls, most servers require it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/AddWMSLayerPanel.java

    r4874 r4935  
    282282        a.append("FORMAT=image/jpeg&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&Layers=");
    283283        a.append(commaSepLayerList());
    284         a.append("&SRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}");
     284        a.append("&STYLES=&SRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}");
    285285
    286286        return a.toString();
Note: See TracChangeset for help on using the changeset viewer.