Hi Zac.
Sorry for the delay with the reply.
Are your working with a db or sdf out of interest.
perhaps if u show us the layerdefinition you tried we can help
I'm working with SDF.
Attached is the LayerDefinition.
("%s" have to be replaced to suit for your feature source.)
I can create and insert this multigeometry:
geometryStr = "GEOMETRYCOLLECTION(LINESTRING(-87.77 43.77, -87.76
43.77),POINT(-87.77 43.77))";
But it is not shown on the map.
I would really appreciate it if you help me.
Regards
Takashige.
----- Original Message -----
From: "zspitzer"
Are your working with a db or sdf out of interest.
perhaps if u show us the layerdefinition you tried we can help
<?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.0.0.xsd" version="1.0.0">
<VectorLayerDefinition>
<ResourceId>%s</ResourceId>
<FeatureName>%s</FeatureName>
<FeatureNameType>FeatureClass</FeatureNameType>
<Geometry>%s</Geometry>
<VectorScaleRange>
<PointTypeStyle>
<DisplayAsText>false</DisplayAsText>
<AllowOverpost>false</AllowOverpost>
<PointRule>
<LegendLabel></LegendLabel>
<PointSymbolization2D>
<Mark>
<Unit>Inches</Unit>
<SizeContext>DeviceUnits</SizeContext>
<SizeX>0.07</SizeX>
<SizeY>0.07</SizeY>
<Rotation>0</Rotation>
<Shape>Circle</Shape>
<Fill>
<FillPattern>Solid</FillPattern>
<ForegroundColor>FFFFFF00</ForegroundColor>
<BackgroundColor>FFFFFFFF</BackgroundColor>
</Fill>
<Edge>
<LineStyle>Solid</LineStyle>
<Thickness>0.0</Thickness>
<Color>ff000000</Color>
<Unit>Centimeters</Unit>
</Edge>
</Mark>
</PointSymbolization2D>
</PointRule>
</PointTypeStyle>
<LineTypeStyle>
<LineRule>
<LegendLabel></LegendLabel>
<Filter></Filter>
<LineSymbolization2D><LineStyle>Solid</LineStyle>
<Thickness>1</Thickness>
<Color>FFFFFF00</Color>
<Unit>Points</Unit>
</LineSymbolization2D>
</LineRule>
</LineTypeStyle>
<AreaTypeStyle>
<AreaRule>
<LegendLabel></LegendLabel>
<Filter></Filter>
<AreaSymbolization2D>
<Fill>
<FillPattern>Solid</FillPattern>
<ForegroundColor>FFFFFF00</ForegroundColor>
<BackgroundColor>FF000000</BackgroundColor>
</Fill>
<Stroke>
<LineStyle>Solid</LineStyle>
<Thickness>1</Thickness>
<Color>FF000000</Color>
<Unit>Points</Unit>
</Stroke>
</AreaSymbolization2D>
</AreaRule>
</AreaTypeStyle>
</VectorScaleRange>
</VectorLayerDefinition>
</LayerDefinition>
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users