New to Telerik UI for WinForms? Start a free 30-day trial

IMapViewport

Interface

Exposes the geographic and pixel bounds, pan, zoom, and wraparound state used to render a map.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

C#
public interface IMapViewport

Properties

Gets or sets the center of the visible map in geographic coordinates.

C#
PointG Center { get; set; }

Gets or sets the center of the visible map in projected pixel coordinates at the current zoom level.

C#
PointL CenterPixel { get; set; }

Gets the number of horizontal map copies used to render the viewport, including the unshifted copy.

C#
int NumberOfWraparounds { get; }

Gets or sets the map's pan offset in pixels.

C#
SizeL PanOffset { get; set; }

Gets or sets the visible map bounds in geographic coordinates.

C#
RectangleG Viewport { get; set; }

Gets or sets the visible map bounds in projected pixel coordinates.

C#
RectangleL ViewportInPixels { get; set; }

Gets or sets whether the map can wrap horizontally across the world boundary.

C#
bool Wraparound { get; set; }

Gets or sets the current map zoom level.

C#
int ZoomLevel { get; set; }