diff --git a/geoportal/geoportailv3_geoportal/static-ngeo/js/locationinfo/LocationinfoController.js b/geoportal/geoportailv3_geoportal/static-ngeo/js/locationinfo/LocationinfoController.js index d9b72f810..ee86e3a03 100644 --- a/geoportal/geoportailv3_geoportal/static-ngeo/js/locationinfo/LocationinfoController.js +++ b/geoportal/geoportailv3_geoportal/static-ngeo/js/locationinfo/LocationinfoController.js @@ -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_();