Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mapcentia committed Feb 11, 2022
2 parents 38b5017 + 008dcd0 commit 785f74e
Show file tree
Hide file tree
Showing 6 changed files with 84 additions and 121 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [CalVer](https://calver.org/).

## [2022.2.1] 2022-3-3
### Fixed
- Use UTM instead of web-mercator when projeting/unprojecting the print frame or the different will be to big.

## [2022.2.0] 2022-3-2
### Fixed
- Fix for buggy print recreation from state. The print frame was re-calculated each time the state was applied making a small change in latitude coords. This made the frame drift south-east and rendered errors on big geographical frames.

## [2021.12.1] 2021-29-12
### Changed
- The `df` extension is changed, so it can use both Dataforsyningen and Datafordeler. New setup (token has precedence):
Expand Down
4 changes: 2 additions & 2 deletions browser/modules/anchor.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module.exports = {
* @returns {Object|Boolean}
*/
getCurrentMapParameters: () => {
let p = geocloud.transformPoint(cloud.get().getCenter().x, cloud.get().getCenter().y, "EPSG:900913", "EPSG:4326");
let p = geocloud.transformPoint(cloud.get().getCenter().x, cloud.get().getCenter().y, "EPSG:3857", "EPSG:4326");
let result = false;
if (cloud.get().getBaseLayerName()) {
result = {
Expand Down Expand Up @@ -149,4 +149,4 @@ module.exports = {
getAnchor: function (s) {
return _self.anchor(s);
}
};
};
Loading

0 comments on commit 785f74e

Please sign in to comment.