[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.MapViewport

MapViewport Class

Defines the map viewport

Inheritance
MapViewport
Namespace: GrapeCity.ActiveReports.PageReportModel
Assembly: MESCIUS.ActiveReports.Core.Rdl.dll
Syntax
public sealed class MapViewport : MapSubItem

Constructors

Name Description
MapViewport()

Initializes a new instance of the MapViewport class.

Fields

Name Description
GeographicalMeridiansLabelFormatDefaultValue

Default value for the geographical format of map medians labels.

GeographicalParallelsLabelFormatDefaultValue

Default value for the geographical format of map parallels labels.

HeightDefaultValue

Default value for the height of map viewport.

LeftDefaultValue

Default value for the X coordinate of the map viewport top left point.

MapCoordinateSystemDefaultValue

Default value for the map projection.

MaximumZoomDefaultValue

Default value for the maximum zoom level allowed.

MinimumZoomDefaultValue

Default value for the minimum zoom level allowed.

PlanarLabelFormatDefaultValue

Default value for the planar format of map medians labels.

TopDefaultValue

Default value for the Y coordinate of the map viewport top left point.

WidthDefaultValue

Default value for the width of map viewport.

Properties

Name Description
ContentMargin

Gets or sets the content margin. An expression should evaluate to a Length. The default value is 10pt.

GridUnderContent

Gets or sets the meridians and parallels will be drawn under the map content. An expression should evaluate to a bool.

MapCoordinateSystem

The map projection That evaluates to one of MapCoordinateSystem. The default value is Planar.

MapLimits

Gets or sets the map limits. Automatically calculated if omitted.

MapMeridians

Gets or sets the map meridians.

MapParallels

Gets or sets the map parallels.

MapProjection

The map projection. That evaluates to one of MapProjection. The default value is Equirectangular.

MapView

Gets or sets the view center and zoom. An expression should evaluate to a MapView.

MaximumZoom

Gets or sets the maximum zoom level allowed. An expression should evaluate to a double. The default value is 20000.

MinimumZoom

Gets or sets the minimum zoom level allowed. An expression should evaluate to a double. The default value is 20.

ProjectionCenterX

Gets or sets the X projection center in geographic units. Automatically calculated if omitted. An expression should evaluate to a double.

ProjectionCenterY

Gets or sets the Y projection center in geographic units. Automatically calculated if omitted. An expression should evaluate to a double.

SimplificationResolution

Simplification resolution in map units to be applied to polygon and line layers. An expression should evaluate to a double. The default value is 0 (No simplification).

Extension Methods