Fix markers with bad coordinates breaking the discovery map
This commit is contained in:
parent
b05a1b9978
commit
3be6b9285e
@ -309,7 +309,7 @@ export default {
|
||||
if (isGeometry) {
|
||||
value.forEach(coordinates => {
|
||||
coordinates = JSON.parse(coordinates || '{}').coordinates
|
||||
if (coordinates) {
|
||||
if (coordinates && coordinates.length) {
|
||||
markers.push({ id, coordinates })
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user