====== ThinkGeo.Core.ZoomLevelSet ====== ===== Inheritance Hierarchy ===== *System.Object ***ThinkGeo.Core.ZoomLevelSet** *[[ThinkGeo.Core.SphericalMercatorZoomLevelSet]] *[[ThinkGeo.Core.BingMapsZoomLevelSet]] *[[ThinkGeo.Core.GoogleMapsZoomLevelSet]] *[[ThinkGeo.Core.ThinkGeoCloudMapsZoomLevelSet]] ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} 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 ==
** {{wiki:PublicMethod.gif|}} ZoomLevelSet(Int32) ** * //N/A// == Remarks == * //N/A// == Parameters == * //tileSize// * Type:Int32 * Description:N/A
** {{wiki:PublicMethod.gif|}} ZoomLevelSet(Int32,RectangleShape) ** * //N/A// == Remarks == * //N/A// == Parameters == * //tileSize// * Type:Int32 * Description:N/A * //maxExtent// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ZoomLevelSet(Int32,RectangleShape,GeographyUnit) ** * //N/A// == Remarks == * //N/A// == Parameters == * //tileSize// * Type:Int32 * Description:N/A * //maxExtent// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:N/A * //maxExtentUnit// * Type:[[ThinkGeo.Core.GeographyUnit|GeographyUnit]] * Description:N/A
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} Load(String) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //styleJsonPath// * Type:String * Description:N/A
** {{wiki:PublicMethod.gif|}} Load(Uri) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //styleJsonUri// * Type:Uri * Description:N/A
** {{wiki:PublicMethod.gif|}} GetZoomLevel(RectangleShape,Double,GeographyUnit) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] * Description:This method returns the active ZoomLevel based on an extent, a map unit and a screen width. == Parameters == * //extent// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:This parameter is a world extent. * //screenWidth// * Type:Double * Description:This parameter is the width of the map in pixels. * //mapUnit// * Type:[[ThinkGeo.Core.GeographyUnit|GeographyUnit]] * Description:This parameter is the unit of the map.
** {{wiki:PublicMethod.gif|}} GetZoomLevel(RectangleShape,Double,GeographyUnit,Single) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] * Description:This method returns the active ZoomLevel based on an extent, a map unit and a screen width. == Parameters == * //extent// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:This parameter is a world extent. * //screenWidth// * Type:Double * Description:This parameter is the width of the map in pixels. * //mapUnit// * Type:[[ThinkGeo.Core.GeographyUnit|GeographyUnit]] * Description:This parameter is the unit of the map. * //dpi// * Type:Single * Description:This parameter is the dpi of the extent.
** {{wiki:PublicMethod.gif|}} GetZoomLevelForDrawing(RectangleShape,Double,GeographyUnit,Single) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] * Description:This method returns the active ZoomLevel based on an extent, map unit and a view width. == Parameters == * //extent// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:This parameter is a world extent. * //screenWidth// * Type:Double * Description:This parameter is the width of the view in pixels. * //mapUnit// * Type:[[ThinkGeo.Core.GeographyUnit|GeographyUnit]] * Description:This parameter is the unit of the map. * //dpi// * Type:Single * Description:This parameter is the dpi of the extent.
** {{wiki:PublicMethod.gif|}} GetZoomLevelForDrawing(RectangleShape,Double,GeographyUnit) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] * Description:This method returns the active ZoomLevel based on an extent, map unit and a view width. == Parameters == * //extent// * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:This parameter is a world extent. * //screenWidth// * Type:Double * Description:This parameter is the width of the view in pixels. * //mapUnit// * Type:[[ThinkGeo.Core.GeographyUnit|GeographyUnit]] * Description:This parameter is the unit of the map.
** {{wiki:PublicMethod.gif|}} GetZoomLevels() ** * //N/A// == Remarks == * //None.// == Return Value == * Type:Collection<[[ThinkGeo.Core.ZoomLevel|ZoomLevel]]> * Description:This method return all of the zoomlevels in the zoomLevelSet. == Parameters ==
** {{wiki:PublicMethod.gif|}} GetMaxExtent() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.Core.RectangleShape|RectangleShape]] * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Type * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetLowerZoomLevelScale(Double,ZoomLevelSet) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Double * Description: == Parameters == * //currentScale// * Type:Double * Description:N/A * //zoomLevelSet// * Type:[[ThinkGeo.Core.ZoomLevelSet|ZoomLevelSet]] * Description:N/A
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetHigherZoomLevelScale(Double,ZoomLevelSet) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Double * Description: == Parameters == * //currentScale// * Type:Double * Description:N/A * //zoomLevelSet// * Type:[[ThinkGeo.Core.ZoomLevelSet|ZoomLevelSet]] * Description:N/A
===== Protected Methods ===== ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Object * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} 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 ** {{wiki:PublicProperty.gif|}} CustomZoomLevels ** * //N/A// == Remarks == * //None// == Return Value == * Type:Collection<[[ThinkGeo.Core.ZoomLevel|ZoomLevel]]> ** {{wiki:PublicProperty.gif|}} ZoomLevel01 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel02 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel03 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel04 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel05 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel06 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel07 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel08 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel09 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel10 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel11 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel12 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel13 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel14 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel15 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel16 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel17 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel18 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel19 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ** {{wiki:PublicProperty.gif|}} ZoomLevel20 ** * //N/A// == Remarks == * //None// == Return Value == * Type:[[ThinkGeo.Core.ZoomLevel|ZoomLevel]] ==== Protected Properties ==== ==== Public Events ====