moved components to TypeScript

This commit is contained in:
muerwre 2019-02-12 16:20:31 +07:00
parent 85b8860862
commit 0a01c91271
54 changed files with 2771 additions and 5134 deletions

View file

@ -12,13 +12,6 @@ export class Stickers {
this.layer.addTo(this.map);
}
//
// createOnClick = e => {
// if (!e || !e.latlng) return;
//
// const { latlng } = e;
// this.createSticker({ latlng });
// };
createSticker = ({ latlng, sticker, angle = 2.2, text = '', set }) => {
const marker = new Sticker({