Changeset 13272 in josm
- Timestamp:
- 2018-01-02T14:28:20+01:00 (7 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/maps.xsd
r13266 r13272 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 <!-- does imagery server supports "/status" and tile re-rendering using "/dirty". Defaults to false. --> 704 <xs:element name="mod-tile-features" minOccurs="0" maxOccurs="1" type="xs:boolean" /> 705 705 </xs:choice> 706 706 </xs:sequence> -
trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java
r13267 r13272 514 514 Objects.equals(this.id, other.id) && 515 515 Objects.equals(this.url, other.url) && 516 Objects.equals(this. dirtyMode, other.dirtyMode) &&516 Objects.equals(this.modTileFeatures, other.modTileFeatures) && 517 517 Objects.equals(this.bestMarked, other.bestMarked) && 518 518 Objects.equals(this.isGeoreferenceValid, other.isGeoreferenceValid) && -
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r13266 r13272 616 616 add(new JMenuItem(new LoadTileAction())); 617 617 add(new JMenuItem(new ShowTileInfoAction())); 618 if (ExpertToggleAction.isExpert() && tileSource != null && tileSource.is DirtyMode()) {618 if (ExpertToggleAction.isExpert() && tileSource != null && tileSource.isModTileFeatures()) { 619 619 add(new JMenuItem(new GetOsmTileStatusAction())); 620 620 add(new JMenuItem(new MarkOsmTileDirtyAction())); -
trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java
r13266 r13272 208 208 TILE_SIZE, 209 209 "valid-georeference", 210 " dirty-mode"210 "mod-tile-features" 211 211 ).contains(qName)) { 212 212 newState = State.ENTRY_ATTRIBUTE; … … 472 472 entry.setGeoreferenceValid(Boolean.parseBoolean(accumulator.toString())); 473 473 break; 474 case " dirty-mode":475 entry.set DirtyMode(Boolean.parseBoolean(accumulator.toString()));474 case "mod-tile-features": 475 entry.setModTileFeatures(Boolean.parseBoolean(accumulator.toString())); 476 476 break; 477 477 default: // Do nothing
Note:
See TracChangeset
for help on using the changeset viewer.