Returns the tile number a given lat/long location lies in at a given zoom level
Namespace:
EGIS.ShapeFileLib
Assembly:
EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)
Syntax
Visual Basic |
---|
Public Shared Function GetTileFromGisLocation ( _
lon As Double, _
lat As Double, _
zoomLevel As Integer, _
tileSize As Integer _
) As Point |
C# |
---|
public static Point GetTileFromGisLocation(
double lon,
double lat,
int zoomLevel,
int tileSize
) |
Visual C++ |
---|
public:
static Point GetTileFromGisLocation(
double lon,
double lat,
int zoomLevel,
int tileSize
) |
JavaScript |
---|
EGIS.ShapeFileLib.TileUtil.getTileFromGisLocation = function(lon, lat, zoomLevel, tileSize); |
Parameters
- lon
- Type: System..::..Double
- lat
- Type: System..::..Double
- zoomLevel
- Type: System..::..Int32
- tileSize
- Type: System..::..Int32
Return Value
a Point containing the tiles x,y coordinates
See Also