[mapguide-users] [MapGuide 2.4]Composite symbole in MapUnits

Rémy Gourrat rgourrat at ag-carto.fr
Wed Sep 18 07:15:11 PDT 2013


Hi

I use with success a layer with a composit symbole.

But when I zoom in Viewer, the size symbol decrease,

so to draw it in "MapUnits" and not in "DeviceSpace" it try to add manually in XML definition this yellow code
 but every time I'm saving i have a Maestro error,
isn't supported by MapGuide 2.4 ?

<?xml version="1.0"?>
<LayerDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.4.0" xsi:noNamespaceSchemaLocation="LayerDefinition-2.4.0.xsd">
  <VectorLayerDefinition>
    <ResourceId>Library://ZZ_Test/Data/ORA_PLU.FeatureSource</ResourceId>
    <Watermarks />
    <FeatureName>KingOra:ORA_PLU~V_PLU_PRE_S_05_LBT_MPG~GEOM_LBT</FeatureName>
    <FeatureNameType>FeatureClass</FeatureNameType>
    <Filter>IDPLU_VERSION = 0</Filter>
    <Geometry>GEOM_LBT</Geometry>
</ToolTip>
    <VectorScaleRange>
      <MaxScale>5000</MaxScale>
      <CompositeTypeStyle>
        <CompositeRule>
          <LegendLabel />
          <CompositeSymbolization>
            <SymbolInstance>
              <ResourceId>Library://ZZ_Test/Symbols/ag_PRE_S_05_LBT.SymbolDefinition</ResourceId>
              <ParameterOverrides />
            </SymbolInstance>
              <Unit>Meters</Unit>
              <SizeContext>MappingUnits</SizeContext>
              <SizeX>20</SizeX>
              <SizeY>20</SizeY>
          </CompositeSymbolization>
        </CompositeRule>
      </CompositeTypeStyle>
    </VectorScaleRange>
  </VectorLayerDefinition>
</LayerDefinition>

Thanks for your help

Rémy





-----
AG-Carto - Bayonne
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/MapGuide-2-4-Composite-symbole-in-MapUnits-tp5078483.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20130918/3dcae742/attachment.html>


More information about the mapguide-users mailing list