Skip to content

Commit

Permalink
Ajout du chargement des CRS par defaut
Browse files Browse the repository at this point in the history
  • Loading branch information
lowzonenose committed Apr 5, 2024
1 parent 8b966af commit d17b3ab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ import {
MousePosition as GeoportalMousePosition,
ReverseGeocode,
SearchEngine,
GetFeatureInfo
GetFeatureInfo,
CRS
} from "geoportal-extensions-openlayers";

import Gp from "geoportal-access-lib"
Expand Down Expand Up @@ -147,6 +148,9 @@ export function addMap(options, status) {
}
});

// Chargement des CRS par defaut
CRS.loadByDefault();

var map = new Map({
target : "map",
layers : layersOptions,
Expand Down

0 comments on commit d17b3ab

Please sign in to comment.