[mapguide-users] Add to point some properties (name,key).How? take a look on code.
Farah
farah at egovernments.org
Tue Oct 17 06:36:14 EDT 2006
To understand the xml more, use your mapguide studio to save any layer (
with all the required settings) as xml and go though that xml code.
To save a layer as xml: open the layer. Then you have an option in the file
menu: Save as xml.
farah
-----Original Message-----
From: Maciej Skorczewski [mailto:maciej.skorczewski at procad.pl]
Sent: Tuesday, October 17, 2006 3:47 PM
To: users at mapguide.osgeo.org
Subject: Re: [mapguide-users] Add to point some properties (name,key).How?
take a look on code.
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>'Right'</HorizontalAlignment>
<VerticalAlignment>'Baseline'</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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
More information about the Mapguide_users
mailing list