mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
ts for editor, router, stickers
This commit is contained in:
parent
628b96c4ab
commit
4aff0f7eb1
3 changed files with 22 additions and 37 deletions
|
@ -2,7 +2,7 @@ import { LayerGroup, layerGroup, Map } from 'leaflet';
|
|||
import { IStickerDump, Sticker } from '$modules/Sticker';
|
||||
import { MarkerClusterGroup } from 'leaflet.markercluster/dist/leaflet.markercluster-src.js';
|
||||
import { clusterIcon } from '$utils/clusterIcon';
|
||||
import { Editor } from "$modules/Editor";
|
||||
import { editor, Editor } from "$modules/Editor";
|
||||
|
||||
export interface ILatLng {
|
||||
lat: number,
|
||||
|
@ -12,8 +12,9 @@ export interface ILatLng {
|
|||
interface Props {
|
||||
editor: Editor;
|
||||
map: Map;
|
||||
triggerOnChange: () => void;
|
||||
lockMapClicks: (x: boolean) => void;
|
||||
|
||||
triggerOnChange: typeof editor.triggerOnChange;
|
||||
lockMapClicks: typeof editor.lockMapClicks;
|
||||
}
|
||||
|
||||
export class Stickers {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue