User Tools

Site Tools


12.0:apis:thinkgeo.core.zoomlevelset

ThinkGeo.Core.ZoomLevelSet

Inheritance Hierarchy

Members Summary

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

ZoomLevelSet(Int32)

  • N/A
Remarks
  • N/A
Parameters
  • tileSize
    • Type:Int32
    • Description:N/A

ZoomLevelSet(Int32,RectangleShape)

  • N/A
Remarks
  • N/A
Parameters
  • tileSize
    • Type:Int32
    • Description:N/A

ZoomLevelSet(Int32,RectangleShape,GeographyUnit)

  • N/A
Remarks
  • N/A
Parameters
  • tileSize
    • Type:Int32
    • Description:N/A

Protected Constructors

Public Methods

Load(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • styleJsonPath
    • Type:String
    • Description:N/A

Load(Uri)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • styleJsonUri
    • Type:Uri
    • Description:N/A

GetZoomLevel(RectangleShape,Double,GeographyUnit)

  • N/A
Remarks
  • N/A
Return Value
  • 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.

GetZoomLevel(RectangleShape,Double,GeographyUnit,Single)

  • N/A
Remarks
  • N/A
Return Value
  • 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.

GetZoomLevelForDrawing(RectangleShape,Double,GeographyUnit,Single)

  • N/A
Remarks
  • N/A
Return Value
  • Type:ZoomLevel
  • Description:This method returns the active ZoomLevel based on an extent, map unit and a view width.
Parameters
  • extent
  • screenWidth
    • Type:Double
    • Description:This parameter is the width of the view in pixels.
  • mapUnit
    • Description:This parameter is the unit of the map.
  • dpi
    • Type:Single
    • Description:This parameter is the dpi of the extent.

GetZoomLevelForDrawing(RectangleShape,Double,GeographyUnit)

  • N/A
Remarks
  • N/A
Return Value
  • Type:ZoomLevel
  • Description:This method returns the active ZoomLevel based on an extent, map unit and a view width.
Parameters
  • extent
  • screenWidth
    • Type:Double
    • Description:This parameter is the width of the view in pixels.
  • mapUnit
    • Description:This parameter is the unit of the map.

GetZoomLevels()

  • N/A
Remarks
  • None.
Return Value
  • Type:Collection<ZoomLevel>
  • Description:This method return all of the zoomlevels in the zoomLevelSet.
Parameters

GetMaxExtent()

  • N/A
Remarks
  • N/A
Return Value
Parameters

GetType()

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

GetLowerZoomLevelScale(Double,ZoomLevelSet)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double
  • Description:
Parameters
  • currentScale
    • Type:Double
    • Description:N/A

GetHigherZoomLevelScale(Double,ZoomLevelSet)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double
  • Description:
Parameters
  • currentScale
    • Type:Double
    • Description:N/A

Protected Methods

MemberwiseClone()

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

Finalize()

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

Public Properties

Name

  • N/A
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
  • Type:String

CustomZoomLevels

  • N/A
Remarks
  • None
Return Value

ZoomLevel01

  • N/A
Remarks
  • None
Return Value

ZoomLevel02

  • N/A
Remarks
  • None
Return Value

ZoomLevel03

  • N/A
Remarks
  • None
Return Value

ZoomLevel04

  • N/A
Remarks
  • None
Return Value

ZoomLevel05

  • N/A
Remarks
  • None
Return Value

ZoomLevel06

  • N/A
Remarks
  • None
Return Value

ZoomLevel07

  • N/A
Remarks
  • None
Return Value

ZoomLevel08

  • N/A
Remarks
  • None
Return Value

ZoomLevel09

  • N/A
Remarks
  • None
Return Value

ZoomLevel10

  • N/A
Remarks
  • None
Return Value

ZoomLevel11

  • N/A
Remarks
  • None
Return Value

ZoomLevel12

  • N/A
Remarks
  • None
Return Value

ZoomLevel13

  • N/A
Remarks
  • None
Return Value

ZoomLevel14

  • N/A
Remarks
  • None
Return Value

ZoomLevel15

  • N/A
Remarks
  • None
Return Value

ZoomLevel16

  • N/A
Remarks
  • None
Return Value

ZoomLevel17

  • N/A
Remarks
  • None
Return Value

ZoomLevel18

  • N/A
Remarks
  • None
Return Value

ZoomLevel19

  • N/A
Remarks
  • None
Return Value

ZoomLevel20

  • N/A
Remarks
  • None
Return Value

Protected Properties

Public Events

12.0/apis/thinkgeo.core.zoomlevelset.txt · Last modified: 2019/09/26 09:35 (external edit)