]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/_note.json.jsonify
Merge remote-tracking branch 'upstream/pull/2109'
[rails.git] / app / views / notes / _note.json.jsonify
index 5e3ac518e7840990e78654089f06f6433952441f..b964399225350d30cf48aa7786e0c4eda41d9fb7 100644 (file)
@@ -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