Open pvgenuchten opened 6 years ago
I got this issue when not all names of the projections are properly defined in the config javascript files.
Here a fix to avoid this error https://github.com/geonetwork/core-geonetwork/pull/2600 It works also in the dutch view
Seems the epsg:28992 projection is not available to the editor, for now do not set the editor map projection to epsg:28992, else you'll get the error below
TypeError: Cannot read property 'getCode' of null at Object.ol.proj.getTransformFromProjections (/geonetwork/catalog/lib/ngeo/ngeo-debug.js:6958:47) at Object.ol.proj.getTransform (/geonetwork/catalog/lib/ngeo/ngeo-debug.js:6941:18) at Object.ol.proj.transformExtent (/geonetwork/catalog/lib/ngeo/ngeo-debug.js:7042:29) at Object.reprojExtent (/geonetwork/catalog/components/common/map/mapService.js:302:30) at reprojExtent (/geonetwork/catalog/components/common/map/mapDirective.js:166:35) at link (/geonetwork/catalog/components/common/map/mapDirective.js:179:14)