@ml2drender/wasm
    Preparing search index...

    Interface Crs

    A CRS, with MapLibre GL JS's tile grid and name for it: what addProjection registers, with the CRS as PROJJSON.

    interface Crs {
        name?: string;
        projjson: object;
        tileMatrixSet?: TileMatrixSet;
    }
    Index
    name?: string

    The name GL JS knows the CRS by (addProjection's name, projection.type of toStyle's style). Required by toStyle only.

    projjson: object

    PROJJSON of a geographic or projected CRS (or of a bound or compound CRS of one). Supported methods: Transverse Mercator, Mercator, Pseudo Mercator, Lambert Conic Conformal, Albers Equal Area, Equidistant Conic, Polar and Oblique Stereographic, Hotine Oblique Mercator, Krovak (North Orientated), Cassini-Soldner, American Polyconic, Lambert Azimuthal Equal Area, Azimuthal Equidistant, Lambert Cylindrical Equal Area, Equidistant Cylindrical, Orthographic, Equal Earth, Mollweide, Robinson, Sinusoidal, Natural Earth, Winkel Tripel, Miller Cylindrical and PROJ's Geostationary Satellite, without datum shifts.

    tileMatrixSet?: TileMatrixSet

    The CRS's tile grid, which a CRS does not have by itself. Required by renderTile, getTile and renderView (whose zoom is the grid's); render of a box works without it.