User Tools

Site Tools


thinkgeo.mapsuite.core.yahoomapzoomlevelset

ThinkGeo.MapSuite.Core.YahooMapZoomLevelSet

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.

<!– Class –> This class represents the zoom levels used by Yahoo Maps.

Remarks

If you want to create some layers that match up with Yahoo Maps layers, you should use this ZoomSet.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodYahooMapZoomLevelSet This class represents the zoom levels used by Yahoo Maps.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodStatic MemberGetHigherZoomLevelScale Double, ZoomLevelSet ZoomLevelSet ZoomToScale out, the result is greater than input
Public MethodStatic MemberGetLowerZoomLevelScale Double, ZoomLevelSet ZoomLevelSet ZoomToScale in, the result is less than input
Public MethodGetType Object
Public MethodGetZoomLevel RectangleShape, Double, GeographyUnit ZoomLevelSet This method returns the active ZoomLevel based on an extent, a map unit and a screen width.
Public MethodGetZoomLevel RectangleShape, Double, GeographyUnit, Single ZoomLevelSet This method returns the active ZoomLevel based on an extent, a map unit and a screen width.
Public MethodGetZoomLevelForDrawing RectangleShape, Double, GeographyUnit ZoomLevelSet This method returns the active ZoomLevel based on an extent, a map unit and a canvas width.
Public MethodGetZoomLevelForDrawing RectangleShape, Double, GeographyUnit, Single ZoomLevelSet This method returns the active ZoomLevel based on an extent, a map unit and a canvas width.
Public MethodGetZoomLevels ZoomLevelSet This method return all of the zoomLevels in the zoomLevelSet.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyCustomZoomLevels Collection<ZoomLevel> ZoomLevelSet This property gets the custom zoom levels from the zoomLevelSet.
Public PropertyName String ZoomLevelSet This property gets and sets the name for the ZoomSet.
Public PropertyZoomLevel01 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level01.
Public PropertyZoomLevel02 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level02.
Public PropertyZoomLevel03 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level03.
Public PropertyZoomLevel04 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level04.
Public PropertyZoomLevel05 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level05.
Public PropertyZoomLevel06 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level06.
Public PropertyZoomLevel07 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level07.
Public PropertyZoomLevel08 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level08.
Public PropertyZoomLevel09 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level09.
Public PropertyZoomLevel10 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level10.
Public PropertyZoomLevel11 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level11.
Public PropertyZoomLevel12 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level12.
Public PropertyZoomLevel13 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level13.
Public PropertyZoomLevel14 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level14.
Public PropertyZoomLevel15 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level15.
Public PropertyZoomLevel16 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level16.
Public PropertyZoomLevel17 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level17.
Public PropertyZoomLevel18 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level18.
Public PropertyZoomLevel19 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level19.
Public PropertyZoomLevel20 ZoomLevel ZoomLevelSet This property gets the ZoomLevel for Level20.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

YahooMapZoomLevelSet()

This class represents the zoom levels used by Yahoo Maps.

Remarks

If you want to create some layers that match up with Yahoo Maps layers, you should use this ZoomSet.

Parameters

Name Type Description

Go Back

Protected Constructors

Public Methods

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetHigherZoomLevelScale(Double, ZoomLevelSet)

<!– static –> ZoomToScale out, the result is greater than input

Return Value

Return Type Description
Double<!– System.Double –>

Parameters

Name Type Description
currentScale Double<!– System.Double –>
zoomLevelSet ZoomLevelSet<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

GetLowerZoomLevelScale(Double, ZoomLevelSet)

<!– static –> ZoomToScale in, the result is less than input

Return Value

Return Type Description
Double<!– System.Double –>

Parameters

Name Type Description
currentScale Double<!– System.Double –>
zoomLevelSet ZoomLevelSet<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetZoomLevel(RectangleShape, Double, GeographyUnit)

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

Return Value

Return Type Description
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –> This method returns the active ZoomLevel based on an extent, a map unit and a screen width.

Parameters

Name Type Description
extent RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> This parameter is a world extent.
screenWidth Double<!– System.Double –> This parameter is the width of the map in pixels.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> This parameter is the unit of the map.

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

GetZoomLevel(RectangleShape, Double, GeographyUnit, Single)

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

Return Value

Return Type Description
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –> This method returns the active ZoomLevel based on an extent, a map unit and a screen width.

Parameters

Name Type Description
extent RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> This parameter is a world extent.
screenWidth Double<!– System.Double –> This parameter is the width of the map in pixels.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> This parameter is the unit of the map.
dpi Single<!– System.Single –> This parameter is the dpi of the extent.

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

GetZoomLevelForDrawing(RectangleShape, Double, GeographyUnit)

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

Return Value

Return Type Description
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –> This method returns the active ZoomLevel based on an extent, map unit and a canvas width.

Parameters

Name Type Description
extent RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> This parameter is a world extent.
screenWidth Double<!– System.Double –> This parameter is the width of the canvas in pixels.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> This parameter is the unit of the map.

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

GetZoomLevelForDrawing(RectangleShape, Double, GeographyUnit, Single)

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

Return Value

Return Type Description
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –> This method returns the active ZoomLevel based on an extent, map unit and a canvas width.

Parameters

Name Type Description
extent RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> This parameter is a world extent.
screenWidth Double<!– System.Double –> This parameter is the width of the canvas in pixels.
mapUnit GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> This parameter is the unit of the map.
dpi Single<!– System.Single –> This parameter is the dpi of the extent.

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

GetZoomLevels()

This method return all of the zoomLevels in the zoomLevelSet.

Return Value

Return Type Description
Collection<ZoomLevel><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.ZoomLevel} –> This method return all of the zoomlevels in the zoomLevelSet.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

CustomZoomLevels

This property gets the custom zoom levels from the zoomLevelSet.

Return Value

Return Type
Collection<ZoomLevel><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.ZoomLevel} –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> 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<!– System.String –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel01

This property gets the ZoomLevel for Level01.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel02

This property gets the ZoomLevel for Level02.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel03

This property gets the ZoomLevel for Level03.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel04

This property gets the ZoomLevel for Level04.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel05

This property gets the ZoomLevel for Level05.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel06

This property gets the ZoomLevel for Level06.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel07

This property gets the ZoomLevel for Level07.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel08

This property gets the ZoomLevel for Level08.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel09

This property gets the ZoomLevel for Level09.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel10

This property gets the ZoomLevel for Level10.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel11

This property gets the ZoomLevel for Level11.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel12

This property gets the ZoomLevel for Level12.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel13

This property gets the ZoomLevel for Level13.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel14

This property gets the ZoomLevel for Level14.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel15

This property gets the ZoomLevel for Level15.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel16

This property gets the ZoomLevel for Level16.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel17

This property gets the ZoomLevel for Level17.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel18

This property gets the ZoomLevel for Level18.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel19

This property gets the ZoomLevel for Level19.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

ZoomLevel20

This property gets the ZoomLevel for Level20.

Return Value

Return Type
ZoomLevel<!– ThinkGeo.MapSuite.Core.ZoomLevel –>

<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –> Go Back

Protected Properties

Public Events

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