@@ -27,7 +27,6 @@ import { BaseLayerModel } from "./base-layer.js";
27
27
import { BitmapLayer , BitmapLayerProps } from "@deck.gl/layers" ;
28
28
import { TileLayer , TileLayerProps } from "@deck.gl/geo-layers" ;
29
29
import { isDefined } from "../util.js" ;
30
- import { Experimental } from "@anywidget/types" ;
31
30
import { invoke } from "./invoke.js" ;
32
31
33
32
/**
@@ -227,13 +226,7 @@ export class BitmapTileModel extends BaseLayerModel {
227
226
protected transparentColor : BitmapLayerProps [ "transparentColor" ] ;
228
227
protected tintColor : BitmapLayerProps [ "tintColor" ] ;
229
228
230
- protected anywidgetExperimental : Experimental ;
231
-
232
- constructor (
233
- model : WidgetModel ,
234
- updateStateCallback : ( ) => void ,
235
- anywidgetExperimental : Experimental ,
236
- ) {
229
+ constructor ( model : WidgetModel , updateStateCallback : ( ) => void ) {
237
230
super ( model , updateStateCallback ) ;
238
231
239
232
this . initRegularAttribute ( "data" , "data" ) ;
@@ -250,8 +243,6 @@ export class BitmapTileModel extends BaseLayerModel {
250
243
this . initRegularAttribute ( "desaturate" , "desaturate" ) ;
251
244
this . initRegularAttribute ( "transparent_color" , "transparentColor" ) ;
252
245
this . initRegularAttribute ( "tint_color" , "tintColor" ) ;
253
-
254
- this . anywidgetExperimental = anywidgetExperimental ;
255
246
}
256
247
257
248
bitmapLayerProps ( ) : Omit < BitmapLayerProps , "id" | "data" > {
@@ -973,10 +964,7 @@ export class TextModel extends BaseArrowLayerModel {
973
964
974
965
export async function initializeLayer (
975
966
model : WidgetModel ,
976
- {
977
- updateStateCallback,
978
- anywidgetExperimental,
979
- } : { updateStateCallback : ( ) => void ; anywidgetExperimental : Experimental } ,
967
+ updateStateCallback : ( ) => void ,
980
968
) : Promise < BaseLayerModel > {
981
969
const layerType = model . get ( "_layer_type" ) ;
982
970
let layerModel : BaseLayerModel ;
@@ -990,11 +978,7 @@ export async function initializeLayer(
990
978
break ;
991
979
992
980
case BitmapTileModel . layerType :
993
- layerModel = new BitmapTileModel (
994
- model ,
995
- updateStateCallback ,
996
- anywidgetExperimental ,
997
- ) ;
981
+ layerModel = new BitmapTileModel ( model , updateStateCallback ) ;
998
982
break ;
999
983
1000
984
case ColumnModel . layerType :
0 commit comments