Skip to content

Commit

Permalink
UPDATE: replaced Proj4 by Proj4rs
Browse files Browse the repository at this point in the history
  • Loading branch information
neo-garaix committed Oct 9, 2024
1 parent 8113eee commit f9b4b25
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion assets/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"jsts": "^2.11.0",
"lit-html": "^3.1.1",
"ol": "^10.2.1",
"proj4": "^2.11.0",
"proj4rs": "^0.1.6",
"shpjs": "^6.1.0",
"svg-sprite-loader": "^6.0.11",
"svgo": "^3.2.0",
Expand Down
2 changes: 1 addition & 1 deletion assets/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import executeJSFromServer from './modules/ExecuteJSFromServer.js';

import olDep from './dependencies/ol.js';
import litHTMLDep from './dependencies/lit-html.js';
import proj4 from 'proj4';
import {proj4} from 'proj4rs/proj4.js'

lizMap.ol = olDep;
lizMap.litHTML = litHTMLDep;
Expand Down
2 changes: 1 addition & 1 deletion assets/src/modules/Lizmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { Extent as olExtent, intersects as olExtentIntersects} from 'ol/extent.j
import { Projection as olProjection, transform as olTransform, transformExtent as olTransformExtent, get as getProjection, clearAllProjections, addCommon } from 'ol/proj.js';
import { register } from 'ol/proj/proj4.js';

import proj4 from 'proj4';
import {proj4} from 'proj4rs/proj4.js';
import ProxyEvents from './ProxyEvents.js';

/**
Expand Down

0 comments on commit f9b4b25

Please sign in to comment.