Changes between Version 15 and Version 16 of MapGuideRfc14


Ignore:
Timestamp:
02/02/07 12:51:25 (18 years ago)
Author:
robertbray
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc14

    v15 v16  
    212212In this version of the schema the order of the symbols in the compound determines the draw order.  Here, the start and end symbols are drawn on top of the dashing.  For the start symbol the !StartOffset and Repeat are set to 0.  This ensures the symbol is only drawn once at the start of the feature.  Likewise, for the end symbol we set the !EndOffset and Repeat to 0.  We also want !OverlapNoWrap for the !VertexControl.  The symbol can overlap a vertex, but we simply want to “stamp” it – no bending around vertices.
    213213
    214 One other note: the default AngleControl behavior is FromGeometry.  This means the angle of the start / end symbol will be computed from the geometry, as shown here.
     214One other note: the default !AngleControl behavior is !FromGeometry.  This means the angle of the start / end symbol will be computed from the geometry, as shown here.
     215
     216[[Image(ex4a.jpg)]]
     217
     218If you wanted the start / end symbol angles to be a fixed value you would change !AngleControl to !FromAngle and specify the Angle, e.g.
     219
     220{{{
     221    <SimpleSymbolDefinition>
     222      <Name>BlueSquare</Name>
     223      ...
     224      <LineUsage>
     225        <AngleControl>FromAngle</AngleControl>
     226        <VertexControl>OverlapNoWrap</VertexControl>
     227        <Angle>0</Angle>
     228        <StartOffset>0</Repeat>
     229        <Repeat>0</Repeat>
     230      </LineUsage>
     231    </SimpleSymbolDefinition>
     232}}}
     233
     234[[Image(ex4b.jpg)]]
     235
     236'''Example 5:'''  line style with a special cross-tick offset requirement
    215237
    216238