Skip to content

Commit

Permalink
fix: rename ESPG3857 to EPSG3857 (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
renningg authored Jan 14, 2025
1 parent af03233 commit 0639cf8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/crs/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { GCJ02ToWGS84, WGS84ToGCJ02 } from './GCJ02';
import { BD09ToGCJ02, GCJ02ToBD09 } from './BD09';
import { ESPG3857ToWGS84, WGS84ToEPSG3857 } from './EPSG3857';
import { EPSG3857ToWGS84, WGS84ToEPSG3857 } from './EPSG3857';
import { BD09MCtoBD09, BD09toBD09MC } from './BD09MC';
import { compose } from '../helper';

Expand Down Expand Up @@ -67,14 +67,14 @@ export const BD09: CRS = {

export const EPSG3857: CRS = {
to: {
[CRSTypes.WGS84]: ESPG3857ToWGS84,
[CRSTypes.GCJ02]: compose(WGS84ToGCJ02, ESPG3857ToWGS84),
[CRSTypes.BD09]: compose(GCJ02ToBD09, WGS84ToGCJ02, ESPG3857ToWGS84),
[CRSTypes.WGS84]: EPSG3857ToWGS84,
[CRSTypes.GCJ02]: compose(WGS84ToGCJ02, EPSG3857ToWGS84),
[CRSTypes.BD09]: compose(GCJ02ToBD09, WGS84ToGCJ02, EPSG3857ToWGS84),
[CRSTypes.BD09MC]: compose(
BD09toBD09MC,
GCJ02ToBD09,
WGS84ToGCJ02,
ESPG3857ToWGS84
EPSG3857ToWGS84
),
},
};
Expand Down

0 comments on commit 0639cf8

Please sign in to comment.