/** * @classdesc * A class internally used by tile layer helps to descibe tile system used by different tile services.
* * @class * @category layer * @example * var ts = new TileSystem([1, -1, -20037508.34, 20037508.34]); */ declare class TileSystem { scale: { x: number; y: number; }; origin: { x: number; y: number; }; /** * The most common used tile system, used by google maps, bing maps and amap, soso maps in China. * @see {@link https://en.wikipedia.org/wiki/Web_Mercator} * @constant * @static */ static 'web-mercator': TileSystem; /** * Predefined tile system for TMS tile system, A tile system published by [OSGEO]{@link http://www.osgeo.org/}.
* Also used by mapbox's [mbtiles]{@link https://github.com/mapbox/mbtiles-spec} specification. * @see {@link http://wiki.osgeo.org/wiki/Tile_Map_Service_Specification} * @constant * @static */ static 'tms-global-mercator': TileSystem; static 'global-geodetic': TileSystem; /** * Another tile system published by [OSGEO]{@link http://www.osgeo.org/}, based on EPSG:4326 SRS. * @see {@link http://wiki.osgeo.org/wiki/Tile_Map_Service_Specification#global-geodetic} * @constant * @static */ static 'tms-global-geodetic': TileSystem; /** * Tile system used by [baidu]{@link http://map.baidu.com} * @constant * @static */ static 'baidu': TileSystem; /** * Similar with [transformation]{@link Transformation}, it contains 4 numbers: sx, sy, ox, oy.
* @see {@link http://wiki.osgeo.org/wiki/Tile_Map_Service_Specification} * @param sx the order of X-axis tile index, 1 means right is larger and -1 means the reverse, left is larger; * @param sy the order of Y-axis tile index, 1 means bottom is larger and -1 means the reverse, top is larger; * @param ox x of the origin point of the world's projected coordinate system * @param oy y of the origin point of the world's projected coordinate system */ constructor(sx: number | number[], sy?: number, ox?: number, oy?: number); /** * Get the default tile system's code for the projection. * @param projection - a projection object * @return tile system code */ static getDefault(projection: any): string | number[]; } export default TileSystem; //# sourceMappingURL=TileSystem.d.ts.map