2.252 MapPolygonRules

Applies to RDL 2010/01 and RDL 2016/01

The MapPolygonRules element specifies a set of rules to be applied to map polygons (specified by MapPolygon elements) in the parent layer.

The following are the parent and child elements of the MapPolygonRules element.

Parent elements

MapPolygonLayer

Child elements

MapLineRules.MapColorPaletteRule

MapLineRules.MapColorRangeRule

MapLineRules.MapCustomColorRule

The following is the XML Schema definition of the MapPolygonRules element.

 <xsd:complexType name="MapPolygonRulesType">
   <xsd:choice maxOccurs="unbounded">
     <xsd:element name="MapColorRangeRule" type="MapColorRangeRuleType" 
                  minOccurs="0" />
     <xsd:element name="MapColorPaletteRule" type="MapColorPaletteRuleType" 
                  minOccurs="0" />
     <xsd:element name="MapCustomColorRule" type="MapCustomColorRuleType" 
                  minOccurs="0" />
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>