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