aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-wmts-zurich.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-02-03 11:00:22 +0000
committerMatthew Somerville <matthew@mysociety.org>2020-02-03 11:00:22 +0000
commit6a81fb1616971c1ceda16e2bb7c14e8341c1421c (patch)
treed41b7fc35019aad2459628290cfe257746086844 /web/js/map-wmts-zurich.js
parent97031d8723b320e0233fcefdca08439fc79f5578 (diff)
parent373383e84f06fe900fdb78dd651fec4a9f2b5ce8 (diff)
Merge remote-tracking branch 'origin/2667-improve-mobile-try-again'
Diffstat (limited to 'web/js/map-wmts-zurich.js')
-rw-r--r--web/js/map-wmts-zurich.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/js/map-wmts-zurich.js b/web/js/map-wmts-zurich.js
index 436dca6ff..7ed7bbbc3 100644
--- a/web/js/map-wmts-zurich.js
+++ b/web/js/map-wmts-zurich.js
@@ -102,8 +102,8 @@ fixmystreet.maps.matrix_ids = [
(function() {
function pin_dragged(lonlat) {
- document.getElementById('fixmystreet.latitude').value = lonlat.y;
- document.getElementById('fixmystreet.longitude').value = lonlat.x;
+ document.getElementById('fixmystreet.latitude').value = lonlat.y.toFixed(6);
+ document.getElementById('fixmystreet.longitude').value = lonlat.x.toFixed(6);
}
$(function(){