C# Class ArcStache.TileUtil

Show file Open project: dtsagile/arcstache Class Usage Examples

Public Methods

Method Description
GeographicToTile ( double lon, double lat, int zoom ) : IPoint
GetEnvelopeFromZoomRowCol ( int zoom, int row, int col ) : IEnvelope
GetSpatialReference ( int wkid ) : ISpatialReference
TileToGeographic ( int tileX, int tileY, int zoom ) : IPoint
TileToWorldPos ( long tile_x, long tile_y, long zoom ) : IPoint

Returns NW corner of the tile

Method Details

GeographicToTile() public static method

public static GeographicToTile ( double lon, double lat, int zoom ) : IPoint
lon double
lat double
zoom int
return IPoint

GetEnvelopeFromZoomRowCol() public static method

public static GetEnvelopeFromZoomRowCol ( int zoom, int row, int col ) : IEnvelope
zoom int
row int
col int
return IEnvelope

GetSpatialReference() public static method

public static GetSpatialReference ( int wkid ) : ISpatialReference
wkid int
return ISpatialReference

TileToGeographic() public static method

public static TileToGeographic ( int tileX, int tileY, int zoom ) : IPoint
tileX int
tileY int
zoom int
return IPoint

TileToWorldPos() public static method

Returns NW corner of the tile
public static TileToWorldPos ( long tile_x, long tile_y, long zoom ) : IPoint
tile_x long
tile_y long
zoom long
return IPoint