import type { Projection } from "../../common/types"; /** * @class Mercator projection onto a sphere. * Used by many mapping services, in particular OpenStreetMap. * @name projection.sphericalMercator * @augments Projection * @static * @deprecated Package @mappable-world/spherical-mercator-projection@0.0.1 is deprecated. Please use https://www.npmjs.com/package/@mappable-world/mappable-web-mercator-projection instead. * @example * ```js * const {SphericalMercator} = await mappable.import('@mappable-world/mappable-spherical-mercator-projection@0.0.1'); * // Create a map in the spherical Mercator projection * const map = new mappable.MMap(document.getElementById('MMapsID'), { * location: { * center: [37, 55], * zoom: 6 * }, * projection: new SphericalMercator() * }); * const dataSourceProps = { * raster: { * type: 'ground', * fetchTile: "https://tile.openstreetmap.org/{{z}}/{{y}}/{{x}}" * } * }; * // Add osm tiles * const dataSource = new mappable.MMapTileDataSource({ * id: "osmSource", * ...dataSourceProps, * }); * * const layer = new mappable.MMapLayer({ * id: "osm", * source: "osmSource", * type: "ground", * }); * ``` */ export declare const SphericalMercator: new () => Projection;