Skip to content

Commit

Permalink
fix(map): EPSG:4087 definition
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipLeitner committed Aug 28, 2024
1 parent e653e7a commit 35c4290
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/hslayers/services/map/map.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -573,14 +573,14 @@ export class HsMapService {

proj4.defs(
'EPSG:4087',
'+proj=cea +lon_0=0 +lat_ts=0 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs',
'+proj=eqc +lat_ts=0 +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs +type=crs',
);
proj4.defs(
'http://www.opengis.net/gml/srs/epsg.xml#4087',
proj4.defs('EPSG:4087'),
);

register(proj4);

if (this.hsConfig.componentsEnabled?.mapControls == false) {
this.removeAllControls();
}
Expand Down

0 comments on commit 35c4290

Please sign in to comment.