User Tools

Site Tools


thinkgeo.mapsuite.wpfdesktopedition.maparguments

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

  • System.Object
    • ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments

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
  • Description:A point in world coordinate.
Parameters
  • screenCoordinate
    • Description:A point in screen coordinate to be converted.

ToScreenCoordinate(PointShape)

Converts a point from world coordinate to screen coordinate.

Remarks

N/A

Return Value
  • Description:A point in screen coordinate.
Parameters
  • worldCoordinate
    • Description:A point in world coordinate to be converted.

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
  • Type:Int32
  • Description:An integar value that indicates the snapped zoom level index.
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
  • Type:Int32
  • Description:An integar value that indicates the snapped zoom level index.
Parameters
  • scale
    • Type:Double
    • Description:A scale to be snapped.

GetSnappedExtent(RectangleShape)

Gets a snapped extent from the provided extent.

Remarks

N/A

Return Value
  • Description:A RectangleShape object that indicates the extent which is snapped.
Parameters

GetSnappedExtent(RectangleShape,ZoomSnapDirection)

N/A

Remarks

N/A

Return Value
Parameters

ToString()

N/A

Remarks

N/A

Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

N/A

Remarks

N/A

Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

N/A

Remarks

N/A

Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

Finalize()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
  • Type:Object
  • Description:N/A
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
  • Type:Double

ActualHeight

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

Remarks

N/A

Return Value
  • Type:Double

ZoomLevelScales

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

Remarks

N/A

Return Value
  • Type:Collection<Double>

CurrentResolution

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

Remarks

N/A

Return Value
  • Type:Double

CurrentScale

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

Remarks

N/A

Return Value
  • Type:Double

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
  • Type:Double

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
  • Type:Double

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

thinkgeo.mapsuite.wpfdesktopedition.maparguments.txt · Last modified: 2017/03/16 21:59 (external edit)