@@ -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()
+ }
}
},