do not build mapitem if not enought salient points

This commit is contained in:
Bachir Soussi Chiadmi 2023-06-01 11:24:40 +02:00
parent 73b5c911da
commit a324ffc806

View File

@ -78,9 +78,12 @@ export default {
this.parsePoints() this.parsePoints()
this.getSalientPoints() this.getSalientPoints()
if (this.salientPoints.length > 3) { // do not build item if it doesn't get enougth salient points
if (this.canvasMap) { if (this.canvasMap) {
this.initCanvasMap() this.initCanvasMap()
} }
}
}, },
// mounted() { // mounted() {