Table of Contents

ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

Contains important properties and methods of current map object.

Inheritance Hierarchy

Members Summary

Public Constructors

MapArguments()

Constructor of MapArguments.

Remarks

N/A

Parameters

Protected Constructors

Public Methods

ToWorldCoordinate(PointShape)

Converts a point from screen coordinate to world coordinate.

Remarks

N/A

Return Value
Parameters

ToScreenCoordinate(PointShape)

Converts a point from world coordinate to screen coordinate.

Remarks

N/A

Return Value
Parameters

GetSnappedZoomLevelIndex(RectangleShape)

Gets a snapped zoom level index from the provided extent.

Remarks

The extent will automatically snapped a closest scale from the ZoomLevelScale list, and create an extent back with the map's screen width and height.

Return Value
Parameters

GetSnappedZoomLevelIndex(Double)

Gets a snapped zoom level index from the provided scale.

Remarks

The scale will automatically snapped a closest scale from the ZoomLevelScale list, and create an extent back with the map's screen width and height.

Return Value
Parameters

GetSnappedExtent(RectangleShape)

Gets a snapped extent from the provided extent.

Remarks

N/A

Return Value
Parameters

GetSnappedExtent(RectangleShape,ZoomSnapDirection)

N/A

Remarks

N/A

Return Value
Parameters

ToString()

N/A

Remarks

N/A

Return Value
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
Parameters

GetHashCode()

N/A

Remarks

N/A

Return Value
Parameters

GetType()

N/A

Remarks

N/A

Return Value
Parameters

Protected Methods

Finalize()

N/A

Remarks

N/A

Return Value
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
Parameters

Public Properties

MapUnit

Gets or sets the GeographyUnit for the map.

Remarks

N/A

Return Value

ActualWidth

Gets or sets the width of current map object in screen coordinate.

Remarks

N/A

Return Value

ActualHeight

Gets or sets the height of current map object in screen coordinate.

Remarks

N/A

Return Value

ZoomLevelScales

Gets a collection of double values that determines the zoomlevel scales.

Remarks

N/A

Return Value

CurrentResolution

Gets or sets a double value that indicates the current resolution of the map.

Remarks

N/A

Return Value

CurrentScale

Gets or sets a double value that indicates the current scale of the map.

Remarks

N/A

Return Value

MaximumScale

This property gets and sets a maximum scale when navigating the map. When you keep zooming out, and the target scale is bigger than the maximum scale, the zooming operation will be stopped.

Remarks

N/A

Return Value

MinimumScale

This property gets and sets a minimum scale when navigating the map. When you keep zooming in, and the target scale is smaller than the minimum scale, the zooming operation will be stopped.

Remarks

N/A

Return Value

CurrentExtent

Gets or sets the extent of current map.

Remarks

N/A

Return Value

MaxExtent

Gets or sets the max extent of current map.

Remarks

N/A

Return Value

Protected Properties

Public Events