Changes between Version 17 and Version 18 of MapGuideRfc29


Ignore:
Timestamp:
Sep 18, 2007, 5:07:30 AM (17 years ago)
Author:
waltweltonlair
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc29

    v17 v18  
    242242
    243243===== !SymbolInstance Usage and Geometry Contexts =====
     244We will add optional !UsageContext and !GeometryContext elements to !SymbolInstance.  These are enumerated properties.
     245
     246{{{
     247<xs:simpleType name="UsageContextType">
     248  <xs:annotation>
     249    <xs:documentation>The usage context for a symbol instance.</xs:documentation>
     250  </xs:annotation>
     251  <xs:restriction base="xs:string">
     252    <xs:enumeration value="Point"/>
     253    <xs:enumeration value="Line"/>
     254    <xs:enumeration value="Area"/>
     255  </xs:restriction>
     256</xs:simpleType>
     257<xs:simpleType name="GeometryContextType">
     258  <xs:annotation>
     259    <xs:documentation>The geometry context for a symbol instance.</xs:documentation>
     260  </xs:annotation>
     261  <xs:restriction base="xs:string">
     262    <xs:enumeration value="Point"/>
     263    <xs:enumeration value="LineString"/>
     264    <xs:enumeration value="Polygon"/>
     265  </xs:restriction>
     266</xs:simpleType>
     267
     268...
     269
     270<xs:complexType name="SymbolInstance">
     271  <xs:sequence>
     272    <xs:choice>
     273      <xs:element name="ResourceId" type="xs:string"/>
     274      <xs:element name="SimpleSymbolDefinition" type="SimpleSymbolDefinition"/
     275      <xs:element name="CompoundSymbolDefinition" type="CompoundSymbolDefinition"/>
     276    </xs:choice>
     277    <xs:element name="ParameterOverrides" type="ParameterOverrides"/>
     278    <xs:element name="ScaleX" type="xs:string" default="1.0" minOccurs="0"/>
     279    <xs:element name="ScaleY" type="xs:string" default="1.0" minOccurs="0"/>
     280    <xs:element name="InsertionOffsetX" type="xs:string" default="0.0" minOccurs="0"/>
     281    <xs:element name="InsertionOffsetY" type="xs:string" default="0.0" minOccurs="0"/>
     282    <xs:element name="SizeContext" type="SizeContextType" default="DeviceUnits" minOccurs="0"/>
     283    <xs:element name="DrawLast" type="xs:string" default="false" minOccurs="0"/>
     284    <xs:element name="CheckExclusionRegion" type="xs:string" default="false" minOccurs="0"/>
     285    <xs:element name="PositioningAlgorithm" type="xs:string" minOccurs="0"/>
     286
     287    <xs:element name="UsageContext" type="UsageContextType" minOccurs="0">
     288      <xs:annotation>
     289        <xs:documentation>Specifies which usage in the symbol should be the active one.</xs:documentation>
     290      </xs:annotation>
     291    </xs:element>
     292    <xs:element name="GeometryContext" type="GeometryContextType" minOccurs="0">
     293      <xs:annotation>
     294        <xs:documentation>Specifies which geometry type this symbol instance applies to.</xs:documentation>
     295      </xs:annotation>
     296    </xs:element>
     297
     298    <xs:element name="ExtendedData1" type="ExtendedDataType" minOccurs="0"/>
     299  </xs:sequence>
     300</xs:complexType>
     301}}}
    244302
    245303