diff --git a/src/ui-mapbox/common.ts b/src/ui-mapbox/common.ts index e64fba1..946c718 100755 --- a/src/ui-mapbox/common.ts +++ b/src/ui-mapbox/common.ts @@ -629,6 +629,7 @@ export interface MapboxApi { trackUser(options: TrackUserOptions, nativeMap?: any): Promise; addSource(id: string, options: AddSourceOptions, nativeMapView?: any): Promise; + updateSource(id: string, options: UpdateSourceOptions, nativeMapView?: any): Promise; removeSource(id: string, nativeMap?: any): Promise; @@ -829,6 +830,8 @@ export interface MapboxViewApi { addSource(id: string, options: AddSourceOptions): Promise; + updateSource(id: string, options: UpdateSourceOptions): Promise; + removeSource(id: string, nativeMap?: any): Promise; addLayer(style, belowLayerId?: string): Promise;