diff --git a/src/mapboxgl/web-map/WebMapViewModel.ts b/src/mapboxgl/web-map/WebMapViewModel.ts index 12b2de89..842acc6a 100644 --- a/src/mapboxgl/web-map/WebMapViewModel.ts +++ b/src/mapboxgl/web-map/WebMapViewModel.ts @@ -119,6 +119,12 @@ export default class WebMapViewModel extends Events { protected webMapService: WebMapService; + eventTypes: string[]; + + triggerEvent: (name: string, ...rest: any) => any; + + on: (data: Record void>) => void; + constructor( id: string | number | Object, options: webMapOptions = {},