@zxh19890103/wik
Version:
The world-class JavaScript library for building large-scale digital warehouse both on 2D and 3D.
13 lines (12 loc) • 459 B
TypeScript
import L from 'leaflet';
declare const INITIAL_SCALE_FACTOR = 0.0125;
declare const INITIAL_ZOOM_LEVEL = 0;
/**
* Represents an affine transformation: a set of coefficients
* a, b, c, d for transforming a point of a form (x, y) into (a*x + b, c*y + d) and doing the reverse.
* Used by Leaflet in its projections code.
*/
declare const HR_CRS: L.CRS & {
transformation: L.Transformation;
};
export { HR_CRS, INITIAL_SCALE_FACTOR, INITIAL_ZOOM_LEVEL };