|
@@ -118,6 +118,7 @@ export const createBoard = (
|
|
|
showPois() {
|
|
|
if (!board.tree.entrys.pois) return;
|
|
|
const pois = board.tree.entrys.pois as Entity[];
|
|
|
+ console.log(pois);
|
|
|
pois.forEach((poi) => poi.visible(true));
|
|
|
},
|
|
|
hidenPois() {
|
|
@@ -126,10 +127,12 @@ export const createBoard = (
|
|
|
pois.forEach((poi) => poi.visible(false));
|
|
|
},
|
|
|
showPoisId() {
|
|
|
+ if (!board.tree.entrys.pois) return;
|
|
|
const pois = board.tree.entrys.pois as Poi[];
|
|
|
pois.forEach((poi) => poi.setShowLabel(true));
|
|
|
},
|
|
|
hidePoisId() {
|
|
|
+ if (!board.tree.entrys.pois) return;
|
|
|
const pois = board.tree.entrys.pois as Poi[];
|
|
|
pois.forEach((poi) => poi.setShowLabel(false));
|
|
|
},
|