This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.core.zoomlevelset [2015/08/31 06:15] admin [GetZoomLevels()] |
thinkgeo.mapsuite.core.zoomlevelset [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.Core.ZoomLevelSet ====== | ====== ThinkGeo.MapSuite.Core.ZoomLevelSet ====== | ||
- | + | {{section>upgrade_map_suite_to_10.0}} | |
This class represents a collection of ZoomLevels. | This class represents a collection of ZoomLevels. | ||
- | === Remarks === | ||
- | This class represents a collection of ZoomLevels. Each ZoomLevel has a different scale and can store Styles that determine how InternalFeatures draw. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
*System.Object | *System.Object | ||
- | *[[ThinkGeo.MapSuite.Core.ZoomLevelSet]] | + | ***ThinkGeo.MapSuite.Core.ZoomLevelSet** |
+ | *[[ThinkGeo.MapSuite.Core.SphericalMercatorZoomLevelSet]] | ||
*[[ThinkGeo.MapSuite.Core.BingMapsZoomLevelSet]] | *[[ThinkGeo.MapSuite.Core.BingMapsZoomLevelSet]] | ||
*[[ThinkGeo.MapSuite.Core.GoogleMapsZoomLevelSet]] | *[[ThinkGeo.MapSuite.Core.GoogleMapsZoomLevelSet]] | ||
+ | *[[ThinkGeo.MapSuite.Core.PrinterZoomLevelSet]] | ||
*[[ThinkGeo.MapSuite.Core.OpenStreetMapsZoomLevelSet]] | *[[ThinkGeo.MapSuite.Core.OpenStreetMapsZoomLevelSet]] | ||
- | *[[ThinkGeo.MapSuite.Core.PrinterZoomLevelSet]] | ||
- | *[[ThinkGeo.MapSuite.Core.SphericalMercatorZoomLevelSet]] | ||
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} ZoomLevelSet() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ZoomLevelSet()|ZoomLevelSet]] | | | This is the default constructor. | | + | |
+ | * //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 == | ||
+ | <div newline></div> | ||
==== Protected Constructors ==== | ==== Protected Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | |||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} GetZoomLevel(RectangleShape,Double,GeographyUnit) ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetHigherZoomLevelScale(Double, ZoomLevelSet)|GetHigherZoomLevelScale]] | Double, [[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] | | ZoomToScale out, the result is greater than input | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetLowerZoomLevelScale(Double, ZoomLevelSet)|GetLowerZoomLevelScale]] | Double, [[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] | | ZoomToScale in, the result is less than input | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetZoomLevel(RectangleShape, Double, GeographyUnit)|GetZoomLevel]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Double, [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | | This method returns the active ZoomLevel based on an extent, a map unit and a screen width. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetZoomLevel(RectangleShape, Double, GeographyUnit, Single)|GetZoomLevel]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Double, [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]], Single | | This method returns the active ZoomLevel based on an extent, a map unit and a screen width. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetZoomLevelForDrawing(RectangleShape, Double, GeographyUnit, Single)|GetZoomLevelForDrawing]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Double, [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]], Single | | This method returns the active ZoomLevel based on an extent, a map unit and a canvas width. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetZoomLevelForDrawing(RectangleShape, Double, GeographyUnit)|GetZoomLevelForDrawing]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Double, [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | | This method returns the active ZoomLevel based on an extent, a map unit and a canvas width. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetZoomLevels()|GetZoomLevels]] | | | This method return all of the zoomLevels in the zoomLevelSet. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
- | ==== Protected Methods ==== | + | * //This method returns the active ZoomLevel based on an extent, a map unit and a screen width.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | * //N/A// |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
- | ==== Public Properties ==== | + | == Return Value == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#CustomZoomLevels|CustomZoomLevels]] | Collection<[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]]> | | This property gets the custom zoom levels from the zoomLevelSet. | | + | * Description:This method returns the active ZoomLevel based on an extent, a map unit and a screen width. |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Name|Name]] | String | | This property gets and sets the name for the ZoomSet. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel01|ZoomLevel01]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level01. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel02|ZoomLevel02]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level02. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel03|ZoomLevel03]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level03. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel04|ZoomLevel04]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level04. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel05|ZoomLevel05]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level05. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel06|ZoomLevel06]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level06. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel07|ZoomLevel07]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level07. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel08|ZoomLevel08]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level08. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel09|ZoomLevel09]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level09. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel10|ZoomLevel10]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level10. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel11|ZoomLevel11]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level11. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel12|ZoomLevel12]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level12. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel13|ZoomLevel13]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level13. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel14|ZoomLevel14]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level14. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel15|ZoomLevel15]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level15. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel16|ZoomLevel16]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level16. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel17|ZoomLevel17]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level17. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel18|ZoomLevel18]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level18. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel19|ZoomLevel19]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level19. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevel20|ZoomLevel20]] | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | This property gets the ZoomLevel for Level20. | | + | |
- | ==== Protected Properties ==== | + | == Parameters == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * //extent// |
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:This parameter is a world extent. | ||
- | ==== Public Events ==== | + | * //screenWidth// |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | * Type:Double |
+ | * Description:This parameter is the width of the map in pixels. | ||
- | ===== Public Constructors ===== | + | * //mapUnit// |
- | ==== ZoomLevelSet() ==== | + | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] |
- | This is the default constructor. | + | * Description:This parameter is the unit of the map. |
- | === 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 === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | [[#Public Constructors|Go Back]] | + | <div newline></div> |
- | ===== Protected Constructors ===== | + | ** {{wiki:PublicMethod.gif|}} GetZoomLevel(RectangleShape,Double,GeographyUnit,Single) ** |
- | ===== Public Methods ===== | + | |
- | ==== Equals(Object) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean | | | + | |
- | === Parameters === | + | * //This method returns the active ZoomLevel based on an extent, a map unit and a screen width.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | obj | Object | | | + | * //N/A// |
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | * Description:This method returns the active ZoomLevel based on an extent, a map unit and a screen width. | ||
- | [[#Public Methods|Go Back]] | + | == Parameters == |
- | ==== GetHashCode() ==== | + | * //extent// |
- | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter is a world extent. |
- | | Int32 | | | + | |
- | === Parameters === | + | * //screenWidth// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
+ | * Description:This parameter is the width of the map in pixels. | ||
+ | * //mapUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
+ | * Description:This parameter is the unit of the map. | ||
- | [[#Public Methods|Go Back]] | + | * //dpi// |
- | ==== GetHigherZoomLevelScale(Double, ZoomLevelSet) ==== | + | * Type:Single |
+ | * Description:This parameter is the dpi of the extent. | ||
- | ZoomToScale out, the result is greater than input | + | <div newline></div> |
- | === Return Value === | + | ** {{wiki:PublicMethod.gif|}} GetZoomLevelForDrawing(RectangleShape,Double,GeographyUnit,Single) ** |
- | ^ Return Type ^ Description ^ | + | |
- | | Double | | | + | |
- | === Parameters === | + | * //This method returns the active ZoomLevel based on an extent, a map unit and a canvas width.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | currentScale | Double | | | + | * //N/A// |
- | | zoomLevelSet | [[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] | | | + | |
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | * Description:This method returns the active ZoomLevel based on an extent, map unit and a canvas width. | ||
- | [[#Public Methods|Go Back]] | + | == Parameters == |
- | ==== GetLowerZoomLevelScale(Double, ZoomLevelSet) ==== | + | * //extent// |
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:This parameter is a world extent. | ||
- | ZoomToScale in, the result is less than input | + | * //screenWidth// |
- | === Return Value === | + | * Type:Double |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter is the width of the canvas in pixels. |
- | | Double | | | + | |
- | === Parameters === | + | * //mapUnit// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] |
- | | currentScale | Double | | | + | * Description:This parameter is the unit of the map. |
- | | zoomLevelSet | [[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] | | | + | |
+ | * //dpi// | ||
+ | * Type:Single | ||
+ | * Description:This parameter is the dpi of the extent. | ||
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== GetType() ==== | + | ** {{wiki:PublicMethod.gif|}} GetZoomLevelForDrawing(RectangleShape,Double,GeographyUnit) ** |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type | | | + | |
- | === Parameters === | + | * //This method returns the active ZoomLevel based on an extent, a map unit and a canvas width.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | * Description:This method returns the active ZoomLevel based on an extent, map unit and a canvas width. | ||
- | [[#Public Methods|Go Back]] | + | == Parameters == |
- | ==== GetZoomLevel(RectangleShape, Double, GeographyUnit) ==== | + | * //extent// |
- | This method returns the active ZoomLevel based on an extent, a map unit and a screen width. | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | === Return Value === | + | * Description:This parameter is a world extent. |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | This method returns the active ZoomLevel based on an extent, a map unit and a screen width. | | + | |
- | === Parameters === | + | * //screenWidth// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Double |
- | | extent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | This parameter is a world extent. | | + | * Description:This parameter is the width of the canvas in pixels. |
- | | screenWidth | Double | This parameter is the width of the map in pixels. | | + | |
- | | mapUnit | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | This parameter is the unit of the map. | | + | |
+ | * //mapUnit// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | ||
+ | * Description:This parameter is the unit of the map. | ||
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== GetZoomLevel(RectangleShape, Double, GeographyUnit, Single) ==== | + | ** {{wiki:PublicMethod.gif|}} GetZoomLevels() ** |
- | This method returns the active ZoomLevel based on an extent, a map unit and a screen width. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | This method returns the active ZoomLevel based on an extent, a map unit and a screen width. | | + | |
- | === Parameters === | + | * //This method return all of the zoomLevels in the zoomLevelSet.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | extent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | This parameter is a world extent. | | + | * //None.// |
- | | screenWidth | Double | This parameter is the width of the map in pixels. | | + | |
- | | mapUnit | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | This parameter is the unit of the map. | | + | |
- | | dpi | Single | This parameter is the dpi of the extent. | | + | |
+ | == Return Value == | ||
+ | * Type:Collection<[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]]> | ||
+ | * Description:This method return all of the zoomlevels in the zoomLevelSet. | ||
- | [[#Public Methods|Go Back]] | + | == Parameters == |
- | ==== GetZoomLevelForDrawing(RectangleShape, Double, GeographyUnit, Single) ==== | + | <div newline></div> |
- | This method returns the active ZoomLevel based on an extent, a map unit and a canvas width. | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | This method returns the active ZoomLevel based on an extent, map unit and a canvas width. | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | extent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | This parameter is a world extent. | | + | * //N/A// |
- | | screenWidth | Double | This parameter is the width of the canvas in pixels. | | + | |
- | | mapUnit | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | This parameter is the unit of the map. | | + | |
- | | dpi | Single | This parameter is the dpi of the extent. | | + | |
+ | == Return Value == | ||
+ | * Type:String | ||
+ | * Description:N/A | ||
- | [[#Public Methods|Go Back]] | + | == Parameters == |
- | ==== GetZoomLevelForDrawing(RectangleShape, Double, GeographyUnit) ==== | + | <div newline></div> |
- | This method returns the active ZoomLevel based on an extent, a map unit and a canvas width. | + | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | This method returns the active ZoomLevel based on an extent, map unit and a canvas width. | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | extent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | This parameter is a world extent. | | + | * //N/A// |
- | | screenWidth | Double | This parameter is the width of the canvas in pixels. | | + | |
- | | mapUnit | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | This parameter is the unit of the map. | | + | |
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | * Description:N/A | ||
- | [[#Public Methods|Go Back]] | + | == Parameters == |
- | ==== GetZoomLevels() ==== | + | * //obj// |
- | This method return all of the zoomLevels in the zoomLevelSet. | + | * Type:Object |
- | === Return Value === | + | * Description:N/A |
- | ^ Return Type ^ Description ^ | + | |
- | | Collection<[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]]> | This method return all of the zoomlevels in the zoomLevelSet. | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
- | [[#Public Methods|Go Back]] | + | == Return Value == |
- | ==== ToString() ==== | + | * Type:Int32 |
- | === Return Value === | + | * Description:N/A |
- | ^ Return Type ^ Description ^ | + | |
- | | String | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
+ | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
- | [[#Public Methods|Go Back]] | + | == Return Value == |
- | ===== Protected Methods ===== | + | * Type:Type |
- | ==== Finalize() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLowerZoomLevelScale(Double,ZoomLevelSet) ** | ||
+ | * //ZoomToScale in, the result is less than input// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
- | [[#Protected Methods|Go Back]] | + | == Return Value == |
- | ==== MemberwiseClone() ==== | + | * Type:Double |
- | === Return Value === | + | * Description:N/A |
- | ^ Return Type ^ Description ^ | + | |
- | | Object | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //currentScale// |
+ | * Type:Double | ||
+ | * Description:N/A | ||
+ | * //zoomLevelSet// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] | ||
+ | * Description:N/A | ||
- | [[#Protected Methods|Go Back]] | + | <div newline></div> |
- | ===== Public Properties ===== | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetHigherZoomLevelScale(Double,ZoomLevelSet) ** |
- | ==== CustomZoomLevels ==== | + | |
- | This property gets the custom zoom levels from the zoomLevelSet. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Collection<[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.ZoomLevel} --> | | + | |
+ | * //ZoomToScale out, the result is greater than input// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //currentScale// | ||
+ | * Type:Double | ||
+ | * Description:N/A | ||
+ | |||
+ | * //zoomLevelSet// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ==== Protected Methods ==== | ||
+ | ** {{wiki:ProtectedMethod.gif|}} GetSnappedZoomLevel(Double) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //scale// | ||
+ | * Type:Double | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Object | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ==== Public Properties ==== | ||
+ | ** {{wiki:PublicProperty.gif|}} Name ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== Name ==== | ||
This property gets and sets the name for the ZoomSet. | This property gets and sets the name for the ZoomSet. | ||
- | === Remarks === | + | == Remarks == |
The name is user defined. It is useful to set, as it may be used for higher level components such as legends, etc. | 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 Value == |
- | ^ Return Type ^ | + | * Type:String |
- | | String | | + | |
+ | ** {{wiki:PublicProperty.gif|}} CustomZoomLevels ** | ||
+ | |||
+ | This property gets the custom zoom levels from the zoomLevelSet. | ||
+ | == Remarks == | ||
+ | None | ||
+ | == Return Value == | ||
+ | * Type:Collection<[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]]> | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel01 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel01 ==== | ||
This property gets the ZoomLevel for Level01. | This property gets the ZoomLevel for Level01. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel02 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel02 ==== | ||
This property gets the ZoomLevel for Level02. | This property gets the ZoomLevel for Level02. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel03 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel03 ==== | ||
This property gets the ZoomLevel for Level03. | This property gets the ZoomLevel for Level03. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel04 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel04 ==== | ||
This property gets the ZoomLevel for Level04. | This property gets the ZoomLevel for Level04. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel05 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel05 ==== | ||
This property gets the ZoomLevel for Level05. | This property gets the ZoomLevel for Level05. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel06 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel06 ==== | ||
This property gets the ZoomLevel for Level06. | This property gets the ZoomLevel for Level06. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel07 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel07 ==== | ||
This property gets the ZoomLevel for Level07. | This property gets the ZoomLevel for Level07. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel08 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel08 ==== | ||
This property gets the ZoomLevel for Level08. | This property gets the ZoomLevel for Level08. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel09 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel09 ==== | ||
This property gets the ZoomLevel for Level09. | This property gets the ZoomLevel for Level09. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel10 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel10 ==== | ||
This property gets the ZoomLevel for Level10. | This property gets the ZoomLevel for Level10. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel11 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel11 ==== | ||
This property gets the ZoomLevel for Level11. | This property gets the ZoomLevel for Level11. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel12 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel12 ==== | ||
This property gets the ZoomLevel for Level12. | This property gets the ZoomLevel for Level12. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel13 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel13 ==== | ||
This property gets the ZoomLevel for Level13. | This property gets the ZoomLevel for Level13. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel14 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel14 ==== | ||
This property gets the ZoomLevel for Level14. | This property gets the ZoomLevel for Level14. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel15 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel15 ==== | ||
This property gets the ZoomLevel for Level15. | This property gets the ZoomLevel for Level15. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel16 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel16 ==== | ||
This property gets the ZoomLevel for Level16. | This property gets the ZoomLevel for Level16. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel17 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel17 ==== | ||
This property gets the ZoomLevel for Level17. | This property gets the ZoomLevel for Level17. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel18 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel18 ==== | ||
This property gets the ZoomLevel for Level18. | This property gets the ZoomLevel for Level18. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel19 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel19 ==== | ||
This property gets the ZoomLevel for Level19. | This property gets the ZoomLevel for Level19. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevel20 ** | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ZoomLevel20 ==== | ||
This property gets the ZoomLevel for Level20. | This property gets the ZoomLevel for Level20. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | None |
- | | [[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | | + | == Return Value == |
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
- | + | ==== Protected Properties ==== | |
- | [[#Public Properties|Go Back]] | + | ==== Public Events ==== |
- | ===== Protected Properties ===== | + | |
- | ===== Public Events ===== | + | |
- | __NOTOC__ | + | |
- | [[Category:MapSuiteCore]] | + | |
- | [[Category:ThinkGeo.MapSuite.Core]] | + | |
- | [[Category:UpdateDocumentation]] | + | |