Returns the centre point (in Mercator Projection coordinates) of a given tile
Namespace:
EGIS.ShapeFileLib
Assembly:
EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)
Syntax
| Visual Basic |
|---|
Public Shared Function GetMercatorCenterPointFromTile ( _
tileX As Integer, _
tileY As Integer, _
zoomLevel As Integer, _
tileSize As Integer _
) As PointD |
| C# |
|---|
public static PointD GetMercatorCenterPointFromTile(
int tileX,
int tileY,
int zoomLevel,
int tileSize
) |
| Visual C++ |
|---|
public:
static PointD GetMercatorCenterPointFromTile(
int tileX,
int tileY,
int zoomLevel,
int tileSize
) |
| JavaScript |
|---|
EGIS.ShapeFileLib.TileUtil.getMercatorCenterPointFromTile = function(tileX, tileY, zoomLevel, tileSize); |
Parameters
- tileX
- Type: System..::..Int32
zero based tile x-coord
- tileY
- Type: System..::..Int32
zero based tile y-ccord
- zoomLevel
- Type: System..::..Int32
- tileSize
- Type: System..::..Int32
Return Value
Exceptions
| Exception | Condition |
|---|
| System..::..ArgumentException | If zoomLevel less than zero |
See Also