2.264 MapViewport

Applies to RDL 2010/01 and RDL 2016/01

The MapViewport element specifies a map viewport.

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

Parent elements

Map

Child elements

MapViewport.BottomMargin

MapViewport.ContentMargin

MapViewport.GridUnderContent

MapViewport.LeftMargin

MapViewport.MapCoordinateSystem

MapViewport.MapLimits

MapViewport.MapLocation

MapViewport.MapMeridians

MapViewport.MapParallels

MapViewport.MapProjection

MapViewport.MapSize

MapViewport.MapCustomView

MapViewport.MapDataBoundView

MapViewport.MapElementView

MapViewport.MaximumZoom

MapViewport.MinimumZoom

MapViewport.ProjectionCenterX

MapViewport.ProjectionCenterY

MapViewport.RightMargin

MapViewport.SimplificationResolution

MapViewport.Style

MapViewport.TopMargin

MapViewport.ZIndex

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

 <xsd:complexType name="MapViewportType">
   <xsd:choice maxOccurs="unbounded">
     <!--MapSubItem Start-->
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="MapLocation" type="MapLocationType" minOccurs="0" />
     <xsd:element name="MapSize" type="MapSizeType" minOccurs="0" />
     <xsd:element name="LeftMargin" type="xsd:string" minOccurs="0" />
     <xsd:element name="RightMargin" type="xsd:string" minOccurs="0" />
     <xsd:element name="TopMargin" type="xsd:string" minOccurs="0" />
     <xsd:element name="BottomMargin" type="xsd:string" minOccurs="0" />
     <xsd:element name="ZIndex" type="xsd:string" minOccurs="0" />
     <!--MapSubItem End-->
     <xsd:element name="MapCoordinateSystem" type="xsd:string" minOccurs="0" />
     <xsd:element name="MapProjection" type="xsd:string" minOccurs="0" />
     <xsd:element name="ProjectionCenterX" type="xsd:string" minOccurs="0" />
     <xsd:element name="ProjectionCenterY" type="xsd:string" minOccurs="0" />
     <xsd:element name="MapCustomView" type="MapCustomViewType" minOccurs="0" />
     <xsd:element name="MapElementView" type="MapElementViewType" minOccurs="0" />
     <xsd:element name="MapDataBoundView" type="MapDataBoundViewType" minOccurs="0" />
     <xsd:element name="MapLimits" type="MapLimitsType" minOccurs="0" />
     <xsd:element name="MaximumZoom" type="xsd:string" minOccurs="0" />
     <xsd:element name="MinimumZoom" type="xsd:string" minOccurs="0" />
     <xsd:element name="SimplificationResolution" type="xsd:string" minOccurs="0" /> 
            
     <xsd:element name="ContentMargin" type="xsd:string" minOccurs="0" />
     <xsd:element name="MapMeridians" type="MapGridLinesType" minOccurs="0" />
     <xsd:element name="MapParallels" type="MapGridLinesType" minOccurs="0" />
     <xsd:element name="GridUnderContent" type="xsd:string" minOccurs="0" />
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>