We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a52c68f commit 29d7cf2Copy full SHA for 29d7cf2
1 file changed
app/views/genomes/sample_map.json.jbuilder
@@ -11,7 +11,7 @@ json.features(
11
type: 'Feature',
12
geometry: {
13
type: 'MultiPoint',
14
- coordinates: genome.sample_set.locations_complete.map(&:lon_lat)
+ coordinates: genome.sample_set.map(&:lon_lat).compact
15
},
16
properties: {
17
name: genome.typified_names.first.try(:name),
@@ -29,7 +29,7 @@ json.features(
29
30
31
32
- coordinates: register.sample_set.locations_complete.map(&:lon_lat)
+ coordinates: register.sample_set.map(&:lon_lat).compact
33
34
35
register: register.acc_url,
0 commit comments