dlr-eoc / ukis-frontend-libraries

A collection of angular ui-components, services, interfaces... to help you create geospatial mapping applications for the web.
Apache License 2.0
17 stars 4 forks source link

Projection switch is broken #199

Closed voinSR closed 12 months ago

voinSR commented 12 months ago

Describe the bug

After upgrading to v11.x and 12.x projection switch doesn't work. The browser's console shows a lot of errors thrown by OL and Proj.

To Reproduce

Steps to reproduce the behavior:

It seems the error is related to attempt map rendering outside of projection extent, e.g. switch Arctic Polar Stereographic projection and try to pan the map below 60 deg lat.

it is also seen in the demo-maps

https://dlr-eoc.github.io/ukis-frontend-libraries/#/example-projection

Expected behavior

projection switch without errors

Versions

App

Device: any

voinSR commented 12 months ago

ok, the problem is caused by wrong CRS defs in the projection switch demo map

boeckMt commented 11 months ago

Thanks for that fix :)