User Tools

Site Tools


thinkgeo.mapsuite.core.zoomlevelset

This is an old revision of the document!


ThinkGeo.MapSuite.Core.ZoomLevelSet

This class represents a collection of ZoomLevels.

Inheritance Hierarchy

Members Summary

Public Constructors

ZoomLevelSet

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This is the default constructor.

Protected Constructors

Public Methods

Equals

  • Parameters:Object
  • DeclaringType:Object
  • Summary:N/A

GetHashCode

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetHigherZoomLevelScale

  • Parameters:Double,ZoomLevelSet
  • DeclaringType:N/A
  • Summary:ZoomToScale out, the result is greater than input

GetLowerZoomLevelScale

  • Parameters:Double,ZoomLevelSet
  • DeclaringType:N/A
  • Summary:ZoomToScale in, the result is less than input

GetType

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetZoomLevel

  • Parameters:RectangleShape,Double,GeographyUnit
  • DeclaringType:N/A
  • Summary:This method returns the active ZoomLevel based on an extent, a map unit and a screen width.

GetZoomLevel

  • Parameters:RectangleShape,Double,GeographyUnit,Single
  • DeclaringType:N/A
  • Summary:This method returns the active ZoomLevel based on an extent, a map unit and a screen width.

GetZoomLevelForDrawing

  • Parameters:RectangleShape,Double,GeographyUnit,Single
  • DeclaringType:N/A
  • Summary:This method returns the active ZoomLevel based on an extent, a map unit and a canvas width.

GetZoomLevelForDrawing

  • Parameters:RectangleShape,Double,GeographyUnit
  • DeclaringType:N/A
  • Summary:This method returns the active ZoomLevel based on an extent, a map unit and a canvas width.

GetZoomLevels

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This method return all of the zoomLevels in the zoomLevelSet.

ToString

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

Protected Methods

Finalize

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

MemberwiseClone

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

uSk=

  • Parameters:Double
  • DeclaringType:N/A
  • Summary:N/A

Public Properties

CustomZoomLevels

  • Return:Collection<ZoomLevel>
  • Summary:This property gets the custom zoom levels from the zoomLevelSet.

Name

  • Return:String
  • Summary:This property gets and sets the name for the ZoomSet.

ZoomLevel01

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level01.

ZoomLevel02

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level02.

ZoomLevel03

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level03.

ZoomLevel04

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level04.

ZoomLevel05

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level05.

ZoomLevel06

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level06.

ZoomLevel07

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level07.

ZoomLevel08

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level08.

ZoomLevel09

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level09.

ZoomLevel10

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level10.

ZoomLevel11

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level11.

ZoomLevel12

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level12.

ZoomLevel13

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level13.

ZoomLevel14

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level14.

ZoomLevel15

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level15.

ZoomLevel16

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level16.

ZoomLevel17

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level17.

ZoomLevel18

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level18.

ZoomLevel19

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level19.

ZoomLevel20

  • Return:ZoomLevel
  • Summary:This property gets the ZoomLevel for Level20.

Protected Properties

Public Events

Public Constructors

ZoomLevelSet()

This is the default constructor.

Remarks

This constructor is where we set the default scales for each ZoomLevel. If you inherit from this class to create your own custom ZoomSet, then you should not call the base constructor if you want to supply your own custom ZoomLevels.

Parameters

Protected Constructors

Public Methods

Equals(Object)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

obj

  • Type:Object
  • Description:N/A

Go Back

GetHashCode()

N/A

Remarks

N/A

Return Value

  • Return Type:Int32
  • Description:N/A

Parameters

GetHigherZoomLevelScale(Double,ZoomLevelSet)

ZoomToScale out, the result is greater than input

Remarks

N/A

Return Value

  • Return Type:Double
  • Description:N/A

Parameters

currentScale

  • Type:Double
  • Description:N/A

zoomLevelSet

Go Back

GetLowerZoomLevelScale(Double,ZoomLevelSet)

ZoomToScale in, the result is less than input

Remarks

N/A

Return Value

  • Return Type:Double
  • Description:N/A

Parameters

currentScale

  • Type:Double
  • Description:N/A

zoomLevelSet

Go Back

GetType()

N/A

Remarks

N/A

Return Value

  • Return Type:Type
  • Description:N/A

Parameters

GetZoomLevel(RectangleShape,Double,GeographyUnit)

This method returns the active ZoomLevel based on an extent, a map unit and a screen width.

Remarks

N/A

Return Value

  • Return Type:ZoomLevel
  • Description:This method returns the active ZoomLevel based on an extent, a map unit and a screen width.

Parameters

extent

screenWidth

  • Type:Double
  • Description:This parameter is the width of the map in pixels.

mapUnit

  • Description:This parameter is the unit of the map.

Go Back

GetZoomLevel(RectangleShape,Double,GeographyUnit,Single)

This method returns the active ZoomLevel based on an extent, a map unit and a screen width.

Remarks

N/A

Return Value

  • Return Type:ZoomLevel
  • Description:This method returns the active ZoomLevel based on an extent, a map unit and a screen width.

Parameters

extent

screenWidth

  • Type:Double
  • Description:This parameter is the width of the map in pixels.

mapUnit

  • Description:This parameter is the unit of the map.

dpi

  • Type:Single
  • Description:This parameter is the dpi of the extent.

Go Back

GetZoomLevelForDrawing(RectangleShape,Double,GeographyUnit,Single)

This method returns the active ZoomLevel based on an extent, a map unit and a canvas width.

Remarks

N/A

Return Value

  • Return Type:ZoomLevel
  • Description:This method returns the active ZoomLevel based on an extent, map unit and a canvas width.

Parameters

extent

screenWidth

  • Type:Double
  • Description:This parameter is the width of the canvas in pixels.

mapUnit

  • Description:This parameter is the unit of the map.

dpi

  • Type:Single
  • Description:This parameter is the dpi of the extent.

Go Back

GetZoomLevelForDrawing(RectangleShape,Double,GeographyUnit)

This method returns the active ZoomLevel based on an extent, a map unit and a canvas width.

Remarks

N/A

Return Value

  • Return Type:ZoomLevel
  • Description:This method returns the active ZoomLevel based on an extent, map unit and a canvas width.

Parameters

extent

screenWidth

  • Type:Double
  • Description:This parameter is the width of the canvas in pixels.

mapUnit

  • Description:This parameter is the unit of the map.

Go Back

GetZoomLevels()

This method return all of the zoomLevels in the zoomLevelSet.

Remarks

None.

Return Value

  • Return Type:Collection<ZoomLevel>
  • Description:This method return all of the zoomlevels in the zoomLevelSet.

Parameters

ToString()

N/A

Remarks

N/A

Return Value

  • Return Type:String
  • Description:N/A

Parameters

Protected Methods

Finalize()

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value

  • Return Type:Object
  • Description:N/A

Parameters

uSk=(Double)

N/A

Remarks

N/A

Return Value

Parameters

scale

  • Type:Double
  • Description:N/A

Go Back

Public Properties

CustomZoomLevels

This property gets the custom zoom levels from the zoomLevelSet.

Remarks

None

Return Value

Return Type:Collection<ZoomLevel>

Go Back

Name

This property gets and sets the name for the ZoomSet.

Remarks

The name is user defined. It is useful to set, as it may be used for higher level components such as legends, etc.

Return Value

Return Type:String

Go Back

ZoomLevel01

This property gets the ZoomLevel for Level01.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel02

This property gets the ZoomLevel for Level02.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel03

This property gets the ZoomLevel for Level03.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel04

This property gets the ZoomLevel for Level04.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel05

This property gets the ZoomLevel for Level05.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel06

This property gets the ZoomLevel for Level06.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel07

This property gets the ZoomLevel for Level07.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel08

This property gets the ZoomLevel for Level08.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel09

This property gets the ZoomLevel for Level09.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel10

This property gets the ZoomLevel for Level10.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel11

This property gets the ZoomLevel for Level11.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel12

This property gets the ZoomLevel for Level12.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel13

This property gets the ZoomLevel for Level13.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel14

This property gets the ZoomLevel for Level14.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel15

This property gets the ZoomLevel for Level15.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel16

This property gets the ZoomLevel for Level16.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel17

This property gets the ZoomLevel for Level17.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel18

This property gets the ZoomLevel for Level18.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel19

This property gets the ZoomLevel for Level19.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

ZoomLevel20

This property gets the ZoomLevel for Level20.

Remarks

None

Return Value

Return Type:ZoomLevel

Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.core.zoomlevelset.1442486599.txt.gz · Last modified: 2015/09/17 10:43 by admin