mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-26 03:26:41 +07:00
is_empty flag
This commit is contained in:
parent
a180e00ffb
commit
9b6ed74300
8 changed files with 43 additions and 19 deletions
|
@ -25,9 +25,12 @@ export class Stickers {
|
|||
triggerOnChange: this.triggerOnChange,
|
||||
text,
|
||||
});
|
||||
|
||||
this.stickers.push(marker);
|
||||
|
||||
marker.marker.addTo(this.map);
|
||||
|
||||
this.triggerOnChange();
|
||||
// marker.marker.enableEdit();
|
||||
};
|
||||
|
||||
|
@ -38,6 +41,8 @@ export class Stickers {
|
|||
|
||||
this.map.removeLayer(ref.marker);
|
||||
this.stickers.splice(index, 1);
|
||||
|
||||
this.triggerOnChange();
|
||||
};
|
||||
|
||||
clearAll = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue