User Tools

Site Tools


thinkgeo.mapsuite.androidedition.maparguments

This is an old revision of the document!


ThinkGeo.MapSuite.AndroidEdition.MapArguments

Contains important properties and methods of current map object.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.AndroidEdition.MapArguments

Members Summary

Public Constructors

MapArguments()

  • N/A
Remarks
  • N/A
Parameters

MapArguments(RectangleShape,GeographyUnit,Single,Single)

  • N/A
Remarks
  • N/A
Parameters
  • screenWidth
    • Type:Single
    • Description:N/A
  • screenHeight
    • Type:Single
    • Description:N/A

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.

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

ZoomLevelScales

  • Gets a collection of double values that determines the zoomlevel scales.
Remarks
  • N/A
Return Value
  • Type:Collection<Double>

CurrentExtent

  • Gets or sets the extent of current map.
Remarks
  • N/A
Return Value

MapUnit

  • Gets or sets the GeographyUnit for the map.
Remarks
  • N/A
Return Value

ScreenWidth

  • Gets or sets the width of the screen.
Remarks
  • N/A
Return Value
  • Type:Single

ScreenHeight

  • Gets or sets the height of the screen.
Remarks
  • N/A
Return Value
  • Type:Single

CurrentScale

  • Gets or sets a double value that indicates the current scale of the map.
Remarks
  • N/A
Return Value
  • Type:Double

CurrentResolution

  • Gets or sets a double value that indicates the current resolution of the map.
Remarks
  • N/A
Return Value
  • Type:Double

ZoomLevelSet

  • This property gets or sets the ZoomLevelSet used for the MapView control.
Remarks
  • N/A
Return Value

CustomData

  • Gets the custom data.
Remarks
  • N/A
Return Value
  • Type:Dictionary<String,Object>

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

MaximumScale

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double

MinimumScale

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double

Protected Properties

Public Events

thinkgeo.mapsuite.androidedition.maparguments.1442966230.txt.gz · Last modified: 2015/09/22 23:57 by admin