User Tools

Site Tools


thinkgeo.mapsuite.windowsphonecore.mapsuitetilematrix

ThinkGeo.MapSuite.WindowsPhoneCore.MapSuiteTileMatrix

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 defines the TileMatrix system used in MapSuite component.

Remarks

This MapSuite Tile Matrix system is the TileMatrix system designed for use both in Desktop Edition and Web Edition.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodMapSuiteTileMatrix Double This is the constructor by passing the scale.
Public MethodMapSuiteTileMatrix Double, Int32, Int32, GeographyUnit This is the constructor for the class.
Public MethodMapSuiteTileMatrix Double, Int32, Int32, GeographyUnit, RectangleShape This is the constructor for the class.
Public MethodMapSuiteTileMatrix Double, Int32, Int32, GeographyUnit, PointShape, Int64, Int64 This is the constructor for the class.
Public MethodMapSuiteTileMatrix String, Double, Int32, Int32, GeographyUnit, RectangleShape This is the constructor for the class.
Public MethodMapSuiteTileMatrix String, Double, Int32, Int32, GeographyUnit, PointShape, Int64, Int64 This is the constructor for the class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodGetResolutionFromScale Double TileMatrix(overriden) This method will get resolution from scale and can be overridden.
Protected MethodMemberwiseClone Object
Protected MethodSetMatrix String, Double, Double, PointShape, MatrixReferenceCorner, Int64, Int64 Matrix
Protected MethodSetMatrix Double, Double Matrix
Protected MethodSetMatrix String, Double, Double, RectangleShape, MatrixReferenceCorner Matrix

Public Properties

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

MapSuiteTileMatrix(Double)

This is the constructor by passing the scale.

Remarks

If you use this constructor, all other properties are used their default values.

Parameters

Name Type Description
scale Double<!– System.Double –> This parameter specifies the target scale to set the Matrix.

Go Back

MapSuiteTileMatrix(Double, Int32, Int32, GeographyUnit)

This is the constructor for the class.

Overloads

This is the commonly used constructor for the class.

Remarks

If you use this constructor, all other properties are used their default values.

Parameters

Name Type Description
scale Double<!– System.Double –> This parameter specifies the target scale to set the Matrix.
tileWidth Int32<!– System.Int32 –> This parameter specifies the tile width(in decimalDegrees) to set the Matrix.
tileHeight Int32<!– System.Int32 –> This parameter specifies the tile height(in decimalDegrees) to set the Matrix.
boundingBoxUnit GeographyUnit<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit –> This parameter specifies the boundingBox Unit to set the Matrix.

Go Back

MapSuiteTileMatrix(Double, Int32, Int32, GeographyUnit, RectangleShape)

This is the constructor for the class.

Overloads

This is the commonly used constructor for the class.

Remarks

If you use this constructor, all other properties are used their default values.

Parameters

Name Type Description
scale Double<!– System.Double –> This parameter specifies the target scale to set the Matrix.
tileWidth Int32<!– System.Int32 –> This parameter specifies the tile width(in decimalDegrees) to set the Matrix.
tileHeight Int32<!– System.Int32 –> This parameter specifies the tile height(in decimalDegrees) to set the Matrix.
boundingBoxUnit GeographyUnit<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit –> This parameter specifies the boundingBox Unit to set the Matrix.
boundingBox RectangleShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape –> This parameter specifies the bounding box to set the Matrix.

Go Back

MapSuiteTileMatrix(Double, Int32, Int32, GeographyUnit, PointShape, Int64, Int64)

This is the constructor for the class.

Overloads

This is the commonly used constructor for the class.

Remarks

If you use this constructor, all other properties are used their default values.

Parameters

Name Type Description
scale Double<!– System.Double –> This parameter specifies the target scale to set the Matrix.
tileWidth Int32<!– System.Int32 –> This parameter specifies the tile width(in decimalDegrees) to set the Matrix.
tileHeight Int32<!– System.Int32 –> This parameter specifies the tile height(in decimalDegrees) to set the Matrix.
boundingBoxUnit GeographyUnit<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit –> This parameter specifies the boundingBox Unit to set the Matrix.
referencePoint PointShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.PointShape –> This parameter specifies the reference point location to set the Matrix.
rowCount Int64<!– System.Int64 –> This parameter specifies the row count to set the Matrix.
columnCount Int64<!– System.Int64 –> This parameter specifies the column count to set the Matrix.

Go Back

MapSuiteTileMatrix(String, Double, Int32, Int32, GeographyUnit, RectangleShape)

This is the constructor for the class.

Overloads

This is the commonly used constructor for the class.

Remarks

If you use this constructor, all other properties are used their default values.

Parameters

Name Type Description
id String<!– System.String –> This parameter specifies the id to set the Matrix.
scale Double<!– System.Double –> This parameter specifies the target scale to set the Matrix.
tileWidth Int32<!– System.Int32 –> This parameter specifies the tile width(in decimalDegrees) to set the Matrix.
tileHeight Int32<!– System.Int32 –> This parameter specifies the tile height(in decimalDegrees) to set the Matrix.
boundingBoxUnit GeographyUnit<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit –> This parameter specifies the boundingBox Unit to set the Matrix.
boundingBox RectangleShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape –> This parameter specifies the bounding box to set the Matrix.

Go Back

MapSuiteTileMatrix(String, Double, Int32, Int32, GeographyUnit, PointShape, Int64, Int64)

This is the constructor for the class.

Overloads

This is the commonly used constructor for the class.

Remarks

If you use this constructor, all other properties are used their default values.

Parameters

Name Type Description
id String<!– System.String –> This parameter specifies the id to set the Matrix.
scale Double<!– System.Double –> This parameter specifies the target scale to set the Matrix.
tileWidth Int32<!– System.Int32 –> This parameter specifies the tile width(in decimalDegrees) to set the Matrix.
tileHeight Int32<!– System.Int32 –> This parameter specifies the tile height(in decimalDegrees) to set the Matrix.
boundingBoxUnit GeographyUnit<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit –> This parameter specifies the boundingBox Unit to set the Matrix.
referencePoint PointShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.PointShape –> This parameter specifies the reference point location to set the Matrix.
rowCount Int64<!– System.Int64 –> This parameter specifies the row count to set the Matrix.
columnCount Int64<!– System.Int64 –> This parameter specifies the column count to set the Matrix.

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

GetAllCells()

Return Value

Return Type Description
Collection<TileMatrixCell><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.WindowsPhoneCore.TileMatrixCell} –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

GetCell(Int64, Int64)

Get the cell by passing a specified row and column.

Return Value

Return Type Description
TileMatrixCell<!– ThinkGeo.MapSuite.WindowsPhoneCore.TileMatrixCell –> The returning cell by specified the row and column.

Parameters

Name Type Description
row Int64<!– System.Int64 –> This parameter specifies the row based on 1.
column Int64<!– System.Int64 –> This parameter specifies the row based on 1.

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

GetCell(PointShape)

Return Value

Return Type Description
TileMatrixCell<!– ThinkGeo.MapSuite.WindowsPhoneCore.TileMatrixCell –>

Parameters

Name Type Description
intersectingPoint PointShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.PointShape –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

GetColumnIndex(PointShape)

Return Value

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

Parameters

Name Type Description
intersectingPoint PointShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.PointShape –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

GetContainedCells(RectangleShape)

Return Value

Return Type Description
Collection<TileMatrixCell><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.WindowsPhoneCore.TileMatrixCell} –>

Parameters

Name Type Description
extent RectangleShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

GetContainedRowColumnRange(RectangleShape)

Return Value

Return Type Description
RowColumnRange<!– ThinkGeo.MapSuite.WindowsPhoneCore.RowColumnRange –>

Parameters

Name Type Description
extent RectangleShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

GetHashCode()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

GetIntersectingCells(RectangleShape)

Return Value

Return Type Description
Collection<TileMatrixCell><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.WindowsPhoneCore.TileMatrixCell} –>

Parameters

Name Type Description
extent RectangleShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

GetIntersectingRowColumnRange(RectangleShape)

Return Value

Return Type Description
RowColumnRange<!– ThinkGeo.MapSuite.WindowsPhoneCore.RowColumnRange –>

Parameters

Name Type Description
extent RectangleShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

GetRowIndex(PointShape)

Return Value

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

Parameters

Name Type Description
intersectingPoint PointShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.PointShape –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

GetType()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> 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

GetResolutionFromScale(Double)

This method will get resolution from scale and can be overridden.

Return Value

Return Type Description
Double<!– System.Double –> Returns the resolution corresponding to the passed in scale.

Parameters

Name Type Description
scale Double<!– System.Double –> This parameter specifies the target scale to get resolution from.

<!– ThinkGeo.MapSuite.WindowsPhoneCore.TileMatrix(overriden) –> Go Back

MemberwiseClone()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

SetMatrix(String, Double, Double, PointShape, MatrixReferenceCorner, Int64, Int64)

Return Value

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

Parameters

Name Type Description
id String<!– System.String –>
cellWidth Double<!– System.Double –>
cellHeight Double<!– System.Double –>
referencePoint PointShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.PointShape –>
referenceCorner MatrixReferenceCorner<!– ThinkGeo.MapSuite.WindowsPhoneCore.MatrixReferenceCorner –>
rowCount Int64<!– System.Int64 –>
columnCount Int64<!– System.Int64 –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

SetMatrix(Double, Double)

Return Value

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

Parameters

Name Type Description
cellWidth Double<!– System.Double –>
cellHeight Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

SetMatrix(String, Double, Double, RectangleShape, MatrixReferenceCorner)

Return Value

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

Parameters

Name Type Description
id String<!– System.String –>
cellWidth Double<!– System.Double –>
cellHeight Double<!– System.Double –>
boundingBox RectangleShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape –>
referenceCorner MatrixReferenceCorner<!– ThinkGeo.MapSuite.WindowsPhoneCore.MatrixReferenceCorner –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

Public Properties

BoundingBox

Return Value

Return Type
RectangleShape<!– ThinkGeo.MapSuite.WindowsPhoneCore.RectangleShape –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

BoundingBoxUnit

Return Value

Return Type
GeographyUnit<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeographyUnit –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.TileMatrix –> Go Back

CellHeight

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

CellWidth

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

ColumnCount

Return Value

Return Type
Int64<!– System.Int64 –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

Id

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

RowCount

Return Value

Return Type
Int64<!– System.Int64 –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.Matrix –> Go Back

Scale

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.TileMatrix –> Go Back

TileHeight

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.TileMatrix –> Go Back

TileWidth

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.TileMatrix –> Go Back

Protected Properties

Public Events

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