Changeset 7990 in josm


Ignore:
Timestamp:
2015-01-28T19:58:32+01:00 (9 years ago)
Author:
stoecker
Message:

add <description>, <mirror> and lastcheck property to maps XML

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/maps.xsd

    r7937 r7990  
    2727                <xs:restriction base="xs:string">
    2828                        <xs:enumeration value="wms" />
    29             <xs:enumeration value="wms_endpoint" />
     29                        <xs:enumeration value="wms_endpoint" />
    3030                        <xs:enumeration value="tms" />
    3131                        <xs:enumeration value="html" />
     
    599599                                                <!-- The name of the imagery source -->
    600600                                                <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string" />
     601                                                <!-- A description of the imagery source -->
     602                                                <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string" />
    601603                                                <!-- A unique id for the imagery source -->
    602604                                                <xs:element name="id" minOccurs="0" maxOccurs="1" type="tns:id" />
     
    638640                                                <!-- A base64-encoded image that is displayed as menu/toolbar icon -->
    639641                                                <xs:element name="icon" minOccurs="0" maxOccurs="1" type="xs:string" />
     642                                                <xs:element name="mirror" minOccurs="0">
     643                                                        <xs:complexType>
     644                                                                <xs:all>
     645                                                                        <xs:element name="type" minOccurs="1" maxOccurs="1" type="tns:type" />
     646                                                                        <xs:element name="url" minOccurs="1" maxOccurs="1" type="xs:string" />
     647                                                                        <xs:element name="projections" minOccurs="0" maxOccurs="1" type="tns:projections" />
     648                                                                        <xs:element name="min-zoom" minOccurs="0" maxOccurs="1" type="tns:zoom" />
     649                                                                        <xs:element name="max-zoom" minOccurs="0" maxOccurs="1" type="tns:zoom" />
     650                                                                </xs:all>
     651                                                        </xs:complexType>
     652                                                </xs:element>
    640653                                        </xs:all>
     654                                        <xs:attribute name="lastcheck" type="xs:date" use="optional" />
    641655                                </xs:complexType>
    642656                        </xs:element>
Note: See TracChangeset for help on using the changeset viewer.