X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/34c473f503679242538fe6aa335796f1aae914b5..aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a:/app/views/notes/_note.json.jsonify 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