Class MapViewport
Inherited Members
Namespace: BoldReports.RDL.DOM
Assembly: BoldReports.Web.dll
Syntax
public class MapViewport : MapSubItem
Constructors
MapViewport()
Declaration
public MapViewport()
MapViewport(ReportSerializer)
Declaration
public MapViewport(ReportSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
BoldReports.RDL.DOM.ReportSerializer | serializer |
Properties
ContentMargin
Represents the margin around the content within the map viewport.
Declaration
public Size ContentMargin { get; set; }
Property Value
Type | Description |
---|---|
BoldReports.RDL.DOM.Size | The value is the size of the content margin. |
GridUnderContent
Determines whether the grid is rendered underneath the content.
Declaration
public bool GridUnderContent { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if the grid is under the content; otherwise, false. |
MapCoordinateSystem
Gets or sets the map coordinate system.
Declaration
public string MapCoordinateSystem { get; set; }
Property Value
Type | Description |
---|---|
System.String | String representing the map coordinate system. |
MapLimits
Gets or sets the map limits for the viewport.
Declaration
public MapLimits MapLimits { get; set; }
Property Value
Type | Description |
---|---|
BoldReports.RDL.DOM.MapLimits | An object of type MapLimits that defines the boundaries where the map can be panned or zoomed. |
MapMeridians
Represents the meridians displayed on the map viewport.
Declaration
public MapMeridians MapMeridians { get; set; }
Property Value
Type | Description |
---|---|
BoldReports.RDL.DOM.MapMeridians | The map meridians settings. |
MapParallels
Represents the parallels (latitude lines) displayed on the map viewport.
Declaration
public MapParallels MapParallels { get; set; }
Property Value
Type | Description |
---|---|
BoldReports.RDL.DOM.MapParallels | The map parallels settings. |
MapProjection
Gets or sets the map projection.
Declaration
public string MapProjection { get; set; }
Property Value
Type | Description |
---|---|
System.String | String representing the map projection. |
MapView
Declaration
public MapView MapView { get; set; }
Property Value
Type | Description |
---|---|
MapView |
MaximumZoom
Gets or sets the maximum zoom level for the map.
Declaration
public string MaximumZoom { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the highest zoom level the map can achieve. |
MinimumZoom
Gets or sets the minimum zoom level for the map.
Declaration
public string MinimumZoom { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the lowest zoom level the map can achieve. |
ProjectionCenterX
Gets or sets the projection center's X coordinate.
Declaration
public string ProjectionCenterX { get; set; }
Property Value
Type | Description |
---|---|
System.String | String representing the X coordinate of the projection center. |
ProjectionCenterY
Gets or sets the Y-coordinate for the projection center of the map.
Declaration
public string ProjectionCenterY { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Y-coordinate as a string that defines the projection center. |
SimplificationResolution
Represents the resolution level used for map simplification.
Declaration
public string SimplificationResolution { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string representation of the simplification resolution. |
Methods
ShouldSerializeMapLimits()
Determines whether the 'MapLimits' property should be serialized.
Declaration
public bool ShouldSerializeMapLimits()
Returns
Type | Description |
---|---|
System.Boolean | True if the conditions for serializing 'MapLimits' are met; currently not implemented. |
ShouldSerializeProjectionCenterX()
Determines whether the 'ProjectionCenterX' property should be serialized.
Declaration
public bool ShouldSerializeProjectionCenterX()
Returns
Type | Description |
---|---|
System.Boolean | True if 'ProjectionCenterX' is not null or empty; otherwise, false. |
ShouldSerializeProjectionCenterY()
Determines whether the 'ProjectionCenterY' property should be serialized.
Declaration
public bool ShouldSerializeProjectionCenterY()
Returns
Type | Description |
---|---|
System.Boolean | True if 'ProjectionCenterY' is not null or empty; otherwise, false. |