[mapguide-users] Not able to see layers when I'm using a scale range

Marie-Eve marie-eve.gauthier at all-can.com
Mon Jun 28 12:16:03 EDT 2010


Hello,

I'm trying to use the beta 2.2 and I'm not able to use the scale range. My
layers work when I don't touch it but when I'm using a scale range I'm not
able to see my layers in my map anymore.

That is the xml for my layers. Please help me!!!

<?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.2.0.xsd" version="1.2.0">
  <VectorLayerDefinition>
   
<ResourceId>Library://ALL-CAN/2_FEATURE_SOURCES/WELLS/Wells_BH_10TM.FeatureSource</ResourceId>
    <FeatureName>Schema:Wells_BH_AB</FeatureName>
    <FeatureNameType>FeatureClass</FeatureNameType>
    <Filter />
    <Geometry>Geometry</Geometry>
    <Url />
    <ToolTip />
    <VectorScaleRange>
      <MaxScale>1000000</MaxScale>
      <PointTypeStyle>
        <DisplayAsText>false</DisplayAsText>
        <AllowOverpost>false</AllowOverpost>
        <PointRule>
          <LegendLabel />
          <PointSymbolization2D>
            <Mark>
              <Unit>Inches</Unit>
              <SizeContext>DeviceUnits</SizeContext>
              <SizeX>0.06</SizeX>
              <SizeY>0.06</SizeY>
              <Rotation>0.0</Rotation>
              <Shape>Circle</Shape>
              <Fill>
                <FillPattern>Solid</FillPattern>
                <ForegroundColor>FF000000</ForegroundColor>
                <BackgroundColor>FFFFFFFF</BackgroundColor>
              </Fill>
              <Edge>
                <LineStyle>Solid</LineStyle>
                <Thickness>0.0</Thickness>
                <Color>ff000000</Color>
                <Unit>Centimeters</Unit>
                <SizeContext>DeviceUnits</SizeContext>
              </Edge>
            </Mark>
          </PointSymbolization2D>
        </PointRule>
      </PointTypeStyle>
    </VectorScaleRange>
  </VectorLayerDefinition>
</LayerDefinition>
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Not-able-to-see-layers-when-I-m-using-a-scale-range-tp5231514p5231514.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list