Skip to content

Commit

Permalink
Merge pull request #27 from lat-lon/fixCollectionView-8148-148
Browse files Browse the repository at this point in the history
Fix registration of CRS in HTML view
  • Loading branch information
stephanr authored Apr 13, 2022
2 parents e279c2e + 7de54c8 commit 610e500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deegree-ogcapi-features/src/main/resources/collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ <h1 v-cloak class="mt-5">{{ title }}</h1>

function registerCrs(crsCode, projDef){
if( crsCode != null && projDef != null ) {
proj4.defs('EPSG:25832', '+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs');
proj4.defs(crsCode, projDef);
ol.proj.proj4.register(proj4);
return true;
}
Expand Down

0 comments on commit 610e500

Please sign in to comment.