Skip to content

Commit

Permalink
Merge pull request #2993 from Geoportail-Luxembourg/fix_divers
Browse files Browse the repository at this point in the history
Numeric not string
  • Loading branch information
rmichaelis authored Jan 16, 2023
2 parents e3e8282 + 28130af commit 45ddf12
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,9 @@ const exports = function(

if (x !== undefined && y !== undefined) {
var coordinate = version === 3 ?
/** @type {ol.Coordinate} */ (transform([x, y], srs,
/** @type {ol.Coordinate} */ (transform([parseFloat(x), parseFloat(y)], srs,
this['map'].getView().getProjection())) :
/** @type {ol.Coordinate} */ (transform([y, x], srs,
/** @type {ol.Coordinate} */ (transform([parseFloat(y), parseFloat(x)], srs,
this['map'].getView().getProjection()));
this.setClickCordinate_(coordinate);
this.loadInfoPane_();
Expand Down

0 comments on commit 45ddf12

Please sign in to comment.