[mapguide-users] Add to point some properties (name,key).How? take a look on code.

Maciej Skorczewski maciej.skorczewski at procad.pl
Tue Oct 17 06:17:19 EDT 2006


Where can i find complex manual about configure xml file? Who is used to 
  create point.

this i may xml.

<LayerDefinition version="1.0.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xsi:noNamespaceSchemaLocation="LayerDefinition-1.0.0.xsd">
   <VectorLayerDefinition>
     <ResourceId></ResourceId>
     <FeatureName>Puby</FeatureName>
     <FeatureNameType>FeatureClass</FeatureNameType>
     <Geometry>SHPGEOM</Geometry>


     <VectorScaleRange>
       <MaxScale>225560566</MaxScale>
       <PointTypeStyle>
         <DisplayAsText>false</DisplayAsText>
         <AllowOverpost>false</AllowOverpost>
         <PointRule>
           <LegendLabel></LegendLabel>
           <Label>
             <Unit>Points</Unit>
             <SizeContext>DeviceUnits</SizeContext>
             <SizeX>7</SizeX>
             <SizeY>7</SizeY>
             <Text>Owner</Text>
             <FontName>Verdana</FontName>
             <ForegroundColor>FF000000</ForegroundColor>
             <BackgroundColor>FFFFFFFF</BackgroundColor>
             <BackgroundStyle>Ghosted</BackgroundStyle>
             <HorizontalAlignment>&apos;Right&apos;</HorizontalAlignment>
             <VerticalAlignment>&apos;Baseline&apos;</VerticalAlignment>
           </Label>
           <PointSymbolization2D>
             <W2D>
               <Unit>Millimeters</Unit>
               <SizeContext>DeviceUnits</SizeContext>
               <SizeX>7</SizeX>
               <SizeY>7</SizeY>
               <W2DSymbol>
 
<ResourceId>Library://gdansk2/symbols/add.SymbolLibrary</ResourceId>
                 <LibraryItemName>PushPin2</LibraryItemName>
               </W2DSymbol>
             </W2D>
           </PointSymbolization2D>
         </PointRule>
       </PointTypeStyle>
     </VectorScaleRange>
     <VectorScaleRange>
     <MaxScale>225560566</MaxScale>
       <PointTypeStyle>
         <DisplayAsText>false</DisplayAsText>
         <AllowOverpost>false</AllowOverpost>
         <PointRule>
           <LegendLabel></LegendLabel>
           <PointSymbolization2D>
             <W2D>
               <Unit>Millimeters</Unit>
               <SizeContext>DeviceUnits</SizeContext>
               <SizeX>7</SizeX>
               <SizeY>7</SizeY>
               <W2DSymbol>
 
<ResourceId>Library://gdansk2/symbols/add.SymbolLibrary</ResourceId>
                 <LibraryItemName>PushPin2</LibraryItemName>
               </W2DSymbol>
             </W2D>
           </PointSymbolization2D>
         </PointRule>
       </PointTypeStyle>
     </VectorScaleRange>
   </VectorLayerDefinition>
</LayerDefinition>



Farah napisał(a):
> The properties that you want displayed in the property pane should be set in
> your xml file:
> For ex:
> <PropertyMapping>
>             <Name>PROPERTY_ID</Name>
>             <Value>Property Id</Value>
>     </PropertyMapping>
> 
> Regards
> farah






More information about the Mapguide-users mailing list