first step on loading a tileset from a script
This commit is contained in:
parent
2f9cc393a7
commit
3506063e65
9 changed files with 276 additions and 3 deletions
|
@ -16,6 +16,7 @@ import type { DataLayerEvent } from "./DataLayerEvent";
|
|||
import type { LayerEvent } from './LayerEvent';
|
||||
import type { SetPropertyEvent } from "./setPropertyEvent";
|
||||
import type { TagEvent } from "./TagEvent";
|
||||
import type { TilesetEvent } from "./TilesetEvent";
|
||||
|
||||
export interface TypedMessageEvent<T> extends MessageEvent {
|
||||
data: T
|
||||
|
@ -42,6 +43,7 @@ export type IframeEventMap = {
|
|||
setProperty: SetPropertyEvent
|
||||
getDataLayer: undefined
|
||||
getTag: undefined
|
||||
tilsetEvent: TilesetEvent
|
||||
}
|
||||
export interface IframeEvent<T extends keyof IframeEventMap> {
|
||||
type: T;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue