Changeset 13266 in josm
- Timestamp:
- 2018-01-01T18:05:22+01:00 (7 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/maps.xsd
r11812 r13266 701 701 <!-- does imagery server supports JOSM 4326 to 3857 reprojection and non-square queries. Affects showing warnings. --> 702 702 <xs:element name="epsg4326to3857Supported" minOccurs="0" maxOccurs="1" type="xs:boolean" /> 703 <!-- does imagery server supports tile re-rendering using "/dirty". Defaults to false. --> 704 <xs:element name="dirty-mode" minOccurs="0" maxOccurs="1" type="xs:boolean" /> 703 705 </xs:choice> 704 706 </xs:sequence> -
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r13243 r13266 616 616 add(new JMenuItem(new LoadTileAction())); 617 617 add(new JMenuItem(new ShowTileInfoAction())); 618 if (ExpertToggleAction.isExpert() && tileSource != null && tileSource.getBaseUrl() != null 619 && tileSource.getBaseUrl().contains(".tile.openstreetmap.org/")) { 618 if (ExpertToggleAction.isExpert() && tileSource != null && tileSource.isDirtyMode()) { 620 619 add(new JMenuItem(new GetOsmTileStatusAction())); 621 620 add(new JMenuItem(new MarkOsmTileDirtyAction())); -
trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java
r12620 r13266 207 207 "date", 208 208 TILE_SIZE, 209 "valid-georeference" 209 "valid-georeference", 210 "dirty-mode" 210 211 ).contains(qName)) { 211 212 newState = State.ENTRY_ATTRIBUTE; … … 471 472 entry.setGeoreferenceValid(Boolean.parseBoolean(accumulator.toString())); 472 473 break; 474 case "dirty-mode": 475 entry.setDirtyMode(Boolean.parseBoolean(accumulator.toString())); 476 break; 473 477 default: // Do nothing 474 478 }
Note:
See TracChangeset
for help on using the changeset viewer.