[mapguide-internals] Style help

Traian Stanev traian.stanev at autodesk.com
Tue Dec 1 15:08:01 EST 2009


I don't remember this too well, but perhaps the H is absolute here:

Geometry>M 4.0,0.0 H 4.0</Geometry>

So you get a 0 length segment. Try lower case 'h' , or "H 8.0".

Traian

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Jason Birch
Sent: Tuesday, December 01, 2009 3:06 PM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] Style help

Anyone tell what I'm doing wrong here?  I'm trying to get a simple
alternating grey/black line, but am only seeing the black segment:

<?xml version="1.0" encoding="UTF-8"?>
<SimpleSymbolDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:noNamespaceSchemaLocation="SymbolDefinition-1.0.0.xsd" version="1.0.0">
  <Name>Crosswalk</Name>
  <Graphics>
    <Path>
      <Geometry>M 0.0,0.0 H 4.0</Geometry>
      <LineColor>FF000000</LineColor>
      <LineWeight>2</LineWeight>
      <LineCap>'None'</LineCap>
      <LineJoin>'Miter'</LineJoin>
    </Path>
    <Path>
      <Geometry>M 4.0,0.0 H 4.0</Geometry>
      <LineColor>FF888888</LineColor>
      <LineWeight>2</LineWeight>
      <LineCap>'None'</LineCap>
      <LineJoin>'Miter'</LineJoin>
    </Path>
  </Graphics>
  <LineUsage>
    <VertexControl>'OverlapNone'</VertexControl>
    <StartOffset>0</StartOffset>
    <Repeat>8</Repeat>
  </LineUsage>
  <ParameterDefinition />
</SimpleSymbolDefinition>

Thanks,
Jason
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals


More information about the mapguide-internals mailing list