summaryrefslogtreecommitdiff
path: root/chimere/static
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/static')
-rw-r--r--chimere/static/chimere/js/jquery.chimere.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/chimere/static/chimere/js/jquery.chimere.js b/chimere/static/chimere/js/jquery.chimere.js
index 1eea767..d70b870 100644
--- a/chimere/static/chimere/js/jquery.chimere.js
+++ b/chimere/static/chimere/js/jquery.chimere.js
@@ -2988,10 +2988,10 @@ function transformCoordToLonLat(coord) {
}
},
/* put the marker on the map and update latitude and longitude fields */
- putEditMarker: function (lonlat, zoom){
+ putEditMarker: function (latlon, zoom){
if (settings.features.getLength()) settings.features.pop();
- // console.log(lonlat);
- var point = new ol.geom.Point(lonlat);
+ // console.log(latlon);
+ var point = new ol.geom.Point(latlon);
point.transform(EPSG_DISPLAY_PROJECTION, EPSG_PROJECTION);
var feature = new ol.Feature({
geometry: point