[mapguide-users] Maestro API 5 - GetLegendImage fails
Hans Milling
hm at geograf.dk
Thu Sep 19 05:45:01 PDT 2013
The request fails for any point, line or area if defined. If not defined in
the layerdefinition a blank bitmap is returned.
I kan send you a zip with the SQL table, an MGP with the datasource+layer
and the 4 lines of code to produce the error?
Layer definition below --\/
Best regards
Hans Milling...
<?xml version="1.0"?>
<LayerDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0.0"
xsi:noNamespaceSchemaLocation="LayerDefinition-1.0.0.xsd">
<VectorLayerDefinition>
<ResourceId>Library://Datasources/KP13.FeatureSource</ResourceId>
<FeatureName>dbo:Zonering_KP13</FeatureName>
<FeatureNameType>FeatureClass</FeatureNameType>
<Geometry>SP_GEOMETRY</Geometry>
<ToolTip>Tekst</ToolTip>
<VectorScaleRange>
<AreaTypeStyle>
<AreaRule>
<LegendLabel>Zones</LegendLabel>
<AreaSymbolization2D>
<Fill>
<FillPattern>Solid</FillPattern>
<ForegroundColor>4000ff00</ForegroundColor>
<BackgroundColor>4000ff00</BackgroundColor>
</Fill>
<Stroke>
<LineStyle>Solid</LineStyle>
<Thickness>1</Thickness>
<Color>ff00ff00</Color>
<Unit>Points</Unit>
</Stroke>
</AreaSymbolization2D>
</AreaRule>
</AreaTypeStyle>
</VectorScaleRange>
</VectorLayerDefinition>
</LayerDefinition>
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Maestro-API-5-GetLegendImage-fails-tp5074008p5078664.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list