Skip to content

Commit

Permalink
REMOVE: Delete debug call
Browse files Browse the repository at this point in the history
  • Loading branch information
neo-garaix committed Oct 3, 2024
1 parent 677214b commit 3573eb8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this

## Unreleased

## 0.1.5 - 2024-10-03

### Removed

* Remove debug in console

## 0.1.4 - 2024-09-16

### Changed
Expand Down
11 changes: 2 additions & 9 deletions js/proj4.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ function defs(name) {

// Transform array or object to Proj point
function toPoint(coords) {
console.debug(coords);
if (Array.isArray(coords) && coords.length>1) {
return new Proj.Point(coords[0], coords[1], (coords.length > 2 ? coords[2] : 0.0));
} else if (typeof coords === 'object' && coords.x !== undefined && coords.y !== undefined) {
Expand Down Expand Up @@ -179,16 +178,10 @@ function proj4(fromProj, toProj, coords) {
} else {
obj = {
forward: function (coords) {
let rv = transformer(fromProj, toProj, coords);
console.debug("forward", rv);
//return transformer(fromProj, toProj, coords);
return rv;
return transformer(fromProj, toProj, coords);
},
inverse: function (coords) {
let rv = transformer(toProj, fromProj, coords);
console.debug("inverse", rv);
//return transformer(toProj, fromProj, coords);
return rv;
return transformer(toProj, fromProj, coords);
}
};
if (single) {
Expand Down

0 comments on commit 3573eb8

Please sign in to comment.