[mapguide-users] adding marker layer in mapguide 1.2 API

ZoffoMan zoffo at adelphia.net
Thu Oct 4 14:28:08 EDT 2007


Has anyone solved this .net on 1.2.
The example "works" but does not show a pushpin.
I made a similar layer in my code and same results - no image
I've tried turning on off text as well.

Here is the templated xml (double double quoates are treated as single
double quotes):

<?xml version=""1.0"" encoding=""UTF-8""?>
<LayerDefinition version=""1.1.0""
xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""
xsi:noNamespaceSchemaLocation=""LayerDefinition-1.0.0.xsd"">
  <VectorLayerDefinition>
    <ResourceId></ResourceId>
    <FeatureName>{0}Point</FeatureName>
    <FeatureNameType>FeatureClass</FeatureNameType>
    <Geometry>Geometry</Geometry>
   <VectorScaleRange>
      <MinScale>1</MinScale>
      <MaxScale>30000001</MaxScale>
      <PointTypeStyle>
        <DisplayAsText>true</DisplayAsText>
        <AllowOverpost>false</AllowOverpost>
        <PointRule>
          <LegendLabel></LegendLabel>
          <PointSymbolization2D>
            <W2D>
              <Unit>Points</Unit>
              <SizeContext>DeviceUnits</SizeContext>
              <SizeX>500</SizeX>
              <SizeY>500</SizeY>
              <W2DSymbol>
               
<ResourceId>Library://Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary</ResourceId>
                <LibraryItemName>PushPin</LibraryItemName>
              </W2DSymbol>
            </W2D>
          </PointSymbolization2D>
        </PointRule>
      </PointTypeStyle>
    </VectorScaleRange>
  </VectorLayerDefinition>
</LayerDefinition>
-- 
View this message in context: http://www.nabble.com/adding-marker-layer-in-mapguide-1.2-API-tf3992493s16610.html#a13045857
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list