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

David Hequet david.hequet at free.fr
Wed May 5 10:02:24 EDT 2010



Working link for designing it : 
http://www.rand.com/imaginit/1/pdfs/technology/software/building_symbol_libraries_with_autodesk_mapguide_enterprise_2009.pdf
http://www.rand.com/imaginit/1/pdfs/technology/software/building_symbol_libraries_with_autodesk_mapguide_enterprise_2009.pdf 

Here is a sample of a layerDefinition using a custom line definition:
(assuming "line_gaz.SymbolDefinition" is a valid line definition).


<?xml version="1.0" encoding="utf-8"?>
<LayerDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:noNamespaceSchemaLocation="LayerDefinition-1.3.0.xsd" version="1.3.0">
  <VectorLayerDefinition>
   
<ResourceId>Library://CustomSymbol/Data/ORACONNEXION.FeatureSource</ResourceId>
    <FeatureName>SIG:DBLIGNE</FeatureName>
    <FeatureNameType>FeatureClass</FeatureNameType>
    <Filter />
    <Geometry>GEOM</Geometry>
    <Url />
    <ToolTip />
    <VectorScaleRange>
      <MinScale>0</MinScale>
      <CompositeTypeStyle>
        <CompositeRule>
          <LegendLabel>gaz</LegendLabel>
          <CompositeSymbolization>
            <SymbolInstance>
             
<ResourceId>Library://CustomSymbol/Symbols/line_gaz.SymbolDefinition</ResourceId>
              <ParameterOverrides />
            </SymbolInstance>
          </CompositeSymbolization>
        </CompositeRule>
      </CompositeTypeStyle>
    </VectorScaleRange>
  </VectorLayerDefinition>
</LayerDefinition>
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/AW-mapguide-users-How-to-use-Custom-LineStyle-tp5003379p5008957.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list