Skip to content

Commit

Permalink
fix(crs): add support for non EPSG projection
Browse files Browse the repository at this point in the history
  • Loading branch information
ftoromanoff committed Oct 10, 2024
1 parent 781b344 commit e7e6fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Geographic/Crs.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function toUnit(crs) {
case 'EPSG:4326' : return UNIT.DEGREE;
case 'EPSG:4978' : return UNIT.METER;
default: {
const p = proj4.defs(formatToEPSG(crs));
const p = proj4.defs(crs);
if (!p) {
return undefined;
}
Expand Down

0 comments on commit e7e6fff

Please sign in to comment.