CRS: {
    load: () => void;
    loadByDefault: () => void;
    loadByName: (name: string) => void;
    overload: () => void;
    projectionsExtent: {
        "EPSG:2154": {
            bottom: number;
            left: number;
            right: number;
            top: number;
        };
        "EPSG:27572": { bottom: number; left: number; right: number; top: number };
    };
} = ...

Type declaration

  • load: () => void

    Load all custom definition projection

  • loadByDefault: () => void

    Load definition projection by default

    include into proj4 :

    • WGS84
    • ['EPSG:4326']
    • ['EPSG:3785'], ['EPSG:3857'], GOOGLE, ['EPSG:900913'], ['EPSG:102113']
    • ["EPSG:2154"], ["EPSG:27571"], ["EPSG:27572"], ["EPSG:27573"], ["EPSG:2757"],
    • ["CRS:84"],
    • ["IGNF:LAMB93"],
    • ["IGNF:LAMBE"], ["IGNF:LAMB1"], ["IGNF:LAMB2"], ["IGNF:LAMB3"], ["IGNF:LAMB4"],
    • ["IGNF:RGF93G"],
    • ["IGNF:WGS84G"]
  • loadByName: (name: string) => void

    Load a custom definition projection

  • overload: () => void

    Overload OpenLayers ol.proj parameters, to manage EPSG:2154 extent restriction

  • projectionsExtent: {
        "EPSG:2154": {
            bottom: number;
            left: number;
            right: number;
            top: number;
        };
        "EPSG:27572": { bottom: number; left: number; right: number; top: number };
    }

    List of extent projections