Skip to content

Commit

Permalink
fix: Provide SUPPORTED_SRS_LIST first 2 srs as default
Browse files Browse the repository at this point in the history
  • Loading branch information
DailisLangovskis authored and raitisbe committed Jun 11, 2022
1 parent 0867719 commit bfd3bc6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions projects/hslayers/src/components/save-map/layman.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class HsLaymanService implements HsSaverService {
laymanLayerPending: Subject<string[]> = new Subject();
totalProgress = 0;
deleteQuery: Subscription;
supportedCRRList: string[];
supportedCRRList = SUPPORTED_SRS_LIST.slice(0, 2);
constructor(
private hsUtilsService: HsUtilsService,
private http: HttpClient,
Expand Down Expand Up @@ -120,8 +120,6 @@ export class HsLaymanService implements HsSaverService {
);
laymanEP.version = laymanVersion.about.applications.layman.version;
this.supportedCRRList = getSupportedSrsList(laymanEP);
} else {
this.supportedCRRList = SUPPORTED_SRS_LIST.slice(0, 2);
}
}
});
Expand Down

0 comments on commit bfd3bc6

Please sign in to comment.