Changeset 13699 in josm for trunk/src/org/openstreetmap/josm/io/imagery
- Timestamp:
- 2018-05-02T22:48:35+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/imagery/WMSImagery.java
r13398 r13699 34 34 35 35 import org.openstreetmap.josm.data.Bounds; 36 import org.openstreetmap.josm.data.imagery.GetCapabilitiesParseHelper; 36 37 import org.openstreetmap.josm.data.imagery.ImageryInfo; 37 38 import org.openstreetmap.josm.data.projection.Projections; … … 347 348 child = getChild(child, "OnlineResource"); 348 349 if (child != null) { 349 String baseURL = child.getAttribute ("xlink:href");350 String baseURL = child.getAttributeNS(GetCapabilitiesParseHelper.XLINK_NS_URL, "href"); 350 351 if (!baseURL.equals(serviceUrlStr)) { 351 352 URL newURL = new URL(baseURL);
Note:
See TracChangeset
for help on using the changeset viewer.