mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
short cleanup
This commit is contained in:
parent
f88bedd600
commit
ea688c363b
3 changed files with 1 additions and 13 deletions
|
@ -7,7 +7,7 @@
|
|||
todo tower sticker
|
||||
todo route description
|
||||
|
||||
todo polyline editing only in manual mode (or by click)
|
||||
skip polyline editing only in manual mode (or by click)
|
||||
todo selecting logo on crop
|
||||
|
||||
todo network operations notify
|
||||
|
|
|
@ -371,8 +371,6 @@ export class Editor {
|
|||
this.setInitialData();
|
||||
this.owner = { id };
|
||||
|
||||
// todo: implement
|
||||
// if (this.poly.latlngs && this.poly.latlngs.length > 1) this.poly.poly.editor.enable();
|
||||
this.poly.enableEditor();
|
||||
this.stickers.startEditing();
|
||||
};
|
||||
|
|
|
@ -81,16 +81,6 @@ export class Stickers {
|
|||
|
||||
dumpData = (): Array<IStickerDump> => this.stickers.map(sticker => sticker.dumpData());
|
||||
|
||||
// onSpiderify = (): void => {
|
||||
// console.log('spider?');
|
||||
// // todo: it has markers passed as argument. Update only them.
|
||||
// if (this.editor.getEditing()) {
|
||||
// this.startEditing();
|
||||
// } else {
|
||||
// this.stopEditing();
|
||||
// }
|
||||
// };
|
||||
|
||||
startEditing = (): void => {
|
||||
this.stickers.map(sticker => sticker.startEditing());
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue