do not build mapitem if not enought salient points
This commit is contained in:
parent
73b5c911da
commit
a324ffc806
@ -78,9 +78,12 @@ export default {
|
||||
|
||||
this.parsePoints()
|
||||
this.getSalientPoints()
|
||||
|
||||
if (this.salientPoints.length > 3) { // do not build item if it doesn't get enougth salient points
|
||||
if (this.canvasMap) {
|
||||
this.initCanvasMap()
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
// mounted() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user