We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72d60fd commit 267f626Copy full SHA for 267f626
1 file changed
app/views/genomes/sample_map.json.jbuilder
@@ -49,10 +49,10 @@ json.features(
49
} if sample.lat_lon?
50
end.compact
51
else
52
- @sample_set.select(&:lat_lon?).map(&:lon_lat).uniq.map do |lat_lon|
+ @sample_set.select(&:lat_lon?).map(&:lon_lat).uniq.map do |xy|
53
{
54
type: 'Feature',
55
- geometry: { type: 'Point', coordinates: lon_lat }
+ geometry: { type: 'Point', coordinates: xy }
56
}
57
end
58
0 commit comments