Implementation in InitMapCRS has wrong behavior. If a product is configured using e.g. Pseudo-Mercator with:
org.locationtech.udig.project/defaultCRSPreference=3857
the first added layer changes ViewportModel CRS to its given (different) CRS (e.g. EPSG:4326)
Expected behavior: Whenever a different default is configured and EPSG code is fine, the ViewportModel CRS should be unchanged whenever a layer is added to the map.
see second part of if-statement:
|
if( defaultCRS!=-1 && crs==ViewportModel.BAD_DEFAULT ){ |
Implementation in InitMapCRS has wrong behavior. If a product is configured using e.g. Pseudo-Mercator with:
org.locationtech.udig.project/defaultCRSPreference=3857the first added layer changes ViewportModel CRS to its given (different) CRS (e.g. EPSG:4326)
Expected behavior: Whenever a different default is configured and EPSG code is fine, the ViewportModel CRS should be unchanged whenever a layer is added to the map.
see second part of if-statement:
udig-platform/plugins/org.locationtech.udig.project/src/org/locationtech/udig/project/internal/impl/InitMapCRS.java
Line 42 in 38712e7