This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
thinkgeo.mapsuite.androidedition.maparguments [2015/08/20 03:08] 127.0.0.1 external edit |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ThinkGeo.MapSuite.AndroidEdition.MapArguments ====== | ||
| - | |||
| - | |||
| - | |||
| - | <!-- Class --> | ||
| - | Contains important properties and methods of current map object. | ||
| - | ===== Inheritance Hierarchy ===== | ||
| - | *System.Object | ||
| - | **[[ThinkGeo.MapSuite.AndroidEdition.MapArguments]] | ||
| - | ===== Members Summary ===== | ||
| - | ==== Public Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#MapArguments()|MapArguments]] | | | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#MapArguments(RectangleShape, GeographyUnit, Single, Single)|MapArguments]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]], Single, Single | | | | ||
| - | |||
| - | ==== Protected Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ==== Public Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetSnappedZoomLevelIndex(RectangleShape)|GetSnappedZoomLevelIndex]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | Gets a snapped zoom level index from the provided extent. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetSnappedZoomLevelIndex(Double)|GetSnappedZoomLevelIndex]] | Double | | Gets a snapped zoom level index from the provided scale. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ToScreenCoordinate(PointShape)|ToScreenCoordinate]] | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | | Converts a point from world coordinate to screen coordinate. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ToWorldCoordinate(PointShape)|ToWorldCoordinate]] | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | | Converts a point from screen coordinate to world coordinate. | | ||
| - | |||
| - | ==== Protected Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | ||
| - | |||
| - | ==== Public Properties ==== | ||
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#ActualHeight|ActualHeight]] | Double | | Gets or sets the height of current map object in screen coordinate. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#ActualWidth|ActualWidth]] | Double | | Gets or sets the width of current map object in screen coordinate. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#CurrentExtent|CurrentExtent]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | Gets or sets the extent of current map. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#CurrentResolution|CurrentResolution]] | Double | | Gets or sets a double value that indicates the current resolution of the map. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#CurrentScale|CurrentScale]] | Double | | Gets or sets a double value that indicates the current scale of the map. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#CustomData|CustomData]] | Dictionary<String,Object> | | Gets the custom data. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#MapUnit|MapUnit]] | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | | Gets or sets the GeographyUnit for the map. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#ScreenHeight|ScreenHeight]] | Single | | Gets or sets the height of the screen. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#ScreenWidth|ScreenWidth]] | Single | | Gets or sets the width of the screen. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevelScales|ZoomLevelScales]] | Collection<Double> | | Gets a collection of double values that determines the zoomlevel scales. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevelSet|ZoomLevelSet]] | [[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] | | This property gets or sets the ZoomLevelSet used for the MapView control. | | ||
| - | |||
| - | ==== Protected Properties ==== | ||
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ==== Public Events ==== | ||
| - | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ===== Public Constructors ===== | ||
| - | ==== MapArguments() ==== | ||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | [[#Public Constructors|Go Back]] | ||
| - | ==== MapArguments(RectangleShape, GeographyUnit, Single, Single) ==== | ||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | currentExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | ||
| - | | mapUnit | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]]<!-- ThinkGeo.MapSuite.Core.GeographyUnit --> | | | ||
| - | | screenWidth | Single<!-- System.Single --> | | | ||
| - | | screenHeight | Single<!-- System.Single --> | | | ||
| - | |||
| - | [[#Public Constructors|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 --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetHashCode() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Int32<!-- System.Int32 --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetSnappedZoomLevelIndex(RectangleShape) ==== | ||
| - | Gets a snapped zoom level index from the provided extent. | ||
| - | === Remarks === | ||
| - | The extent will automatically snapped a closest scale from the ZoomLevelScale list, and create an extent back with the map's screen width and height. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Int32<!-- System.Int32 --> | An integar value that indicates the snapped zoom level index. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | extent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | An extent to be snapped. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetSnappedZoomLevelIndex(Double) ==== | ||
| - | Gets a snapped zoom level index from the provided scale. | ||
| - | === Remarks === | ||
| - | The scale will automatically snapped a closest scale from the ZoomLevelScale list, and create an extent back with the map's screen width and height. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Int32<!-- System.Int32 --> | An integar value that indicates the snapped zoom level index. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | scale | Double<!-- System.Double --> | A scale to be snapped. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetType() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Type<!-- System.Type --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== ToScreenCoordinate(PointShape) ==== | ||
| - | Converts a point from world coordinate to screen coordinate. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | A point in screen coordinate. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | worldCoordinate | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | A point in world coordinate to be converted. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== ToString() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | String<!-- System.String --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== ToWorldCoordinate(PointShape) ==== | ||
| - | Converts a point from screen coordinate to world coordinate. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | A point in world coordinate. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | screenCoordinate | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | A point in screen coordinate to be converted. | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ===== Protected Methods ===== | ||
| - | ==== Finalize() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== MemberwiseClone() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Object<!-- System.Object --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ===== Public Properties ===== | ||
| - | ==== ActualHeight ==== | ||
| - | Gets or sets the height of current map object in screen coordinate. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Double<!-- System.Double --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== ActualWidth ==== | ||
| - | Gets or sets the width of current map object in screen coordinate. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Double<!-- System.Double --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== CurrentExtent ==== | ||
| - | Gets or sets the extent of current map. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== CurrentResolution ==== | ||
| - | Gets or sets a double value that indicates the current resolution of the map. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Double<!-- System.Double --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== CurrentScale ==== | ||
| - | Gets or sets a double value that indicates the current scale of the map. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Double<!-- System.Double --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== CustomData ==== | ||
| - | Gets the custom data. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Dictionary<String,Object><!-- System.Collections.Generic.Dictionary{System.String,System.Object} --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== MapUnit ==== | ||
| - | Gets or sets the GeographyUnit for the map. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]]<!-- ThinkGeo.MapSuite.Core.GeographyUnit --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== ScreenHeight ==== | ||
| - | Gets or sets the height of the screen. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Single<!-- System.Single --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== ScreenWidth ==== | ||
| - | Gets or sets the width of the screen. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Single<!-- System.Single --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== ZoomLevelScales ==== | ||
| - | Gets a collection of double values that determines the zoomlevel scales. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Collection<Double><!-- System.Collections.ObjectModel.Collection{System.Double} --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== ZoomLevelSet ==== | ||
| - | This property gets or sets the ZoomLevelSet used for the MapView control. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]]<!-- ThinkGeo.MapSuite.Core.ZoomLevelSet --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.AndroidEdition.MapArguments --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ===== Protected Properties ===== | ||
| - | ===== Public Events ===== | ||
| - | __NOTOC__ | ||
| - | [[Category:AndroidEdition]] | ||
| - | [[Category:ThinkGeo.MapSuite.AndroidEdition]] | ||
| - | [[Category:UpdateDocumentation]] | ||
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.