removed puissance d'agir, action & doleance icons on map #2249
This commit is contained in:
@@ -23,9 +23,9 @@ import RecitPlayer from '@components/RecitPlayer.vue';
|
||||
// import iconTerraindevie from "@/assets/icons/terraindevie.svg"
|
||||
// import iconProximite from "@/assets/icons/proximite.svg"
|
||||
// import iconSuperposition from "@/assets/icons/superposition.svg"
|
||||
import iconPuissanceagir from "@/assets/icons/puissancedagir.svg"
|
||||
import iconAction from "@/assets/icons/action_2.svg"
|
||||
import iconDoleancer from "@/assets/icons/doleancer.svg"
|
||||
// import iconPuissanceagir from "@/assets/icons/puissancedagir.svg"
|
||||
// import iconAction from "@/assets/icons/action_2.svg"
|
||||
// import iconDoleancer from "@/assets/icons/doleancer.svg"
|
||||
|
||||
export default {
|
||||
data() {
|
||||
@@ -282,9 +282,9 @@ export default {
|
||||
initPaperSymbols(){
|
||||
this.addPaperSymbolDefinition('boussole_bg', this.setPaperBoussoleBGSymbol());
|
||||
this.addPaperSymbolDefinition('puissanceagir_bg', this.setPaperPuissanceagirBGSymbol());
|
||||
this.addPaperSymbolDefinition('puissanceagir_icon', this.setPaperPuissanceagirICONSymbol());
|
||||
// this.addPaperSymbolDefinition('puissanceagir_icon', this.setPaperPuissanceagirICONSymbol());
|
||||
this.addPaperSymbolDefinition('doleance_bg', this.setPaperDoleanceBGSymbol());
|
||||
this.addPaperSymbolDefinition('doleance_icon', this.setPaperDoleanceICONSymbol());
|
||||
// this.addPaperSymbolDefinition('doleance_icon', this.setPaperDoleanceICONSymbol());
|
||||
//
|
||||
this.addPaperSymbolDefinition('entite', this.setPaperEntiteSymbol());
|
||||
this.addPaperSymbolDefinition('entite_hidden', this.setPaperHiddenEntiteSymbol());
|
||||
@@ -504,25 +504,25 @@ export default {
|
||||
}
|
||||
});
|
||||
},
|
||||
setPaperPuissanceagirICONSymbol(){
|
||||
let children = [];
|
||||
// setPaperPuissanceagirICONSymbol(){
|
||||
// let children = [];
|
||||
|
||||
let svgIcon = paper.project.importSVG(iconPuissanceagir);
|
||||
children.push(svgIcon);
|
||||
svgIcon.position = this.pos;
|
||||
// let svgIcon = paper.project.importSVG(iconPuissanceagir);
|
||||
// children.push(svgIcon);
|
||||
// svgIcon.position = this.pos;
|
||||
|
||||
return new paper.Group({
|
||||
children: children,
|
||||
pivot: new paper.Point(this.pos),
|
||||
name: 'puissanceagir_icon',
|
||||
locked: true,
|
||||
style: {
|
||||
strokeColor: '#000',
|
||||
strokeWidth: 0.75,
|
||||
fillColor: null
|
||||
}
|
||||
});
|
||||
},
|
||||
// return new paper.Group({
|
||||
// children: children,
|
||||
// pivot: new paper.Point(this.pos),
|
||||
// name: 'puissanceagir_icon',
|
||||
// locked: true,
|
||||
// style: {
|
||||
// strokeColor: '#000',
|
||||
// strokeWidth: 0.75,
|
||||
// fillColor: null
|
||||
// }
|
||||
// });
|
||||
// },
|
||||
setPaperDoleanceBGSymbol(){
|
||||
let ray = this.map_item_ray;
|
||||
let pos = {x:0,y:0};
|
||||
@@ -924,27 +924,25 @@ export default {
|
||||
// locked: true
|
||||
});
|
||||
},
|
||||
setPaperDoleanceICONSymbol(){
|
||||
let children = [];
|
||||
// setPaperDoleanceICONSymbol(){
|
||||
// let children = [];
|
||||
|
||||
let svgIcon = paper.project.importSVG(iconDoleancer);
|
||||
children.push(svgIcon);
|
||||
svgIcon.position = this.pos;
|
||||
// let svgIcon = paper.project.importSVG(iconDoleancer);
|
||||
// children.push(svgIcon);
|
||||
// svgIcon.position = this.pos;
|
||||
|
||||
return new paper.Group({
|
||||
children: children,
|
||||
pivot: new paper.Point(this.pos),
|
||||
name: 'doleance_icon',
|
||||
locked: true,
|
||||
style: {
|
||||
strokeColor: '#000',
|
||||
strokeWidth: 0.75,
|
||||
fillColor: null
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
},
|
||||
// return new paper.Group({
|
||||
// children: children,
|
||||
// pivot: new paper.Point(this.pos),
|
||||
// name: 'doleance_icon',
|
||||
// locked: true,
|
||||
// style: {
|
||||
// strokeColor: '#000',
|
||||
// strokeWidth: 0.75,
|
||||
// fillColor: null
|
||||
// }
|
||||
// });
|
||||
// },
|
||||
setPaperEntiteSymbol(){
|
||||
return new paper.Path.Circle({
|
||||
pivot: new paper.Point({x:0,y:0}),
|
||||
|
||||
Reference in New Issue
Block a user