- Timestamp:
- 2017-02-03T21:30:20+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmApi.java
r11386 r11532 234 234 } 235 235 236 /* This is an interim solution for openstreetmap.org not currently237 * transmitting their imagery blacklist in the capabilities call.238 * remove this as soon as openstreetmap.org adds blacklists.239 * If you want to update this list, please ask for update of240 * http://trac.openstreetmap.org/ticket/5024241 * This list should not be maintained by each OSM editor (see #9210) */242 if (this.serverUrl.matches(".*openstreetmap.org/api.*") && capabilities.getImageryBlacklist().isEmpty()) {243 capabilities.put("blacklist", "regex", ".*\\.google\\.com/.*");244 capabilities.put("blacklist", "regex", ".*209\\.85\\.2\\d\\d.*");245 capabilities.put("blacklist", "regex", ".*209\\.85\\.1[3-9]\\d.*");246 capabilities.put("blacklist", "regex", ".*209\\.85\\.12[89].*");247 }248 249 236 /* This checks if there are any layers currently displayed that 250 237 * are now on the blacklist, and removes them. This is a rare
Note:
See TracChangeset
for help on using the changeset viewer.