X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0814b4096c443e2ab3c09baa058aa81a00d205d1..3b75e9241507c0672dabaec44ecb83148df979b6:/app/views/notes/_note.json.jsonify?ds=sidebyside diff --git a/app/views/notes/_note.json.jsonify b/app/views/notes/_note.json.jsonify index 5e3ac518e..b96439922 100644 --- a/app/views/notes/_note.json.jsonify +++ b/app/views/notes/_note.json.jsonify @@ -2,7 +2,7 @@ json.type "Feature" json.geometry do json.type "Point" - json.coordinates [ note.lon, note.lat ] + json.coordinates [ note.lon.to_f, note.lat.to_f ] end json.properties do