1#ifndef GeoTileMercator_h_
2#define GeoTileMercator_h_
4 #pragma warning(disable : 4251)
42 GeoTileMercator(
size_t tile_width,
size_t tile_height,
size_t pixelsize) :
GeoTile(tile_width, tile_height, pixelsize, -180.0, -85.05112878, 180.0, 85.05112878) {}
44 GeoTileMercator(
size_t tile_width,
size_t tile_height,
size_t pixelsize,
double min_lon,
double min_lat,
double max_lon,
double max_lat)
45 :
GeoTile(tile_width, tile_height, pixelsize, min_lon, min_lat, max_lon, max_lat)
51 virtual void LatLongToPixelXY(
double lon,
double lat,
int lod,
size_t &pixelX,
size_t &pixelY)
const;
55 virtual void PixelXYToLatLon(
size_t pixelX,
size_t pixelY,
int lod,
double &lon,
double &lat)
const;
GeoTileMercator(size_t tile_width, size_t tile_height, size_t pixelsize)
GeoTileMercator(size_t tile_width, size_t tile_height, size_t pixelsize, double min_lon, double min_lat, double max_lon, double max_lat)
virtual void PixelXYToLatLon(size_t pixelX, size_t pixelY, int lod, double &lon, double &lat) const
copydoc GeoTile::PixelXYToLatLon()
virtual void LatLongToPixelXY(double lon, double lat, int lod, size_t &pixelX, size_t &pixelY) const
copydoc GeoTile::LatLongToPixelXY()