AW: [mapguide-users] How to use Custom LineStyle

SriRam007 binod_tripathy at yahoo.co.in
Mon May 10 01:58:26 EDT 2010


I have got the SymbolDefinition to for railline as below

<?xml version="1.0" encoding="UTF-8"?>
<SimpleSymbolDefinition
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="SymbolDefinition-1.1.0.xsd" version="1.1.0">
<Name>ThickRail</Name>
  <Description>This is a railroad symbol</Description>
  <Graphics>
    <Path>
      <Geometry>
	M 0.0, 0.0 L 5.0,0.0
              M 2.5,-2.5 L 2.5,2.5

      </Geometry>
      <LineColor>FF80FFFF</LineColor>
      <LineWeight>%LINE_WEIGHT%</LineWeight>
      <LineCap>'Round'</LineCap>
      <LineJoin>'Round'</LineJoin>
    </Path>
  </Graphics>
  <LineUsage>
    <VertexControl>'OverlapWrap'</VertexControl>
    <Repeat>5</Repeat>
  </LineUsage>
  <ParameterDefinition>
    <Parameter>
      <Identifier>LINE_WEIGHT</Identifier>
      <DefaultValue>1.0</DefaultValue>
      <DisplayName>Line Weight</DisplayName>
      <DataType>Real</DataType>
    </Parameter>
  </ParameterDefinition>
</SimpleSymbolDefinition>

I used it but trying to maintain more distance between each line



How can i do this???

Any hints please...

thanks 
http://n2.nabble.com/file/n5029055/Rail.bmp 
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/AW-mapguide-users-How-to-use-Custom-LineStyle-tp5003379p5029055.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list