@@ -27,7 +27,6 @@ import { BaseLayerModel } from "./base-layer.js";
2727import { BitmapLayer , BitmapLayerProps } from "@deck.gl/layers" ;
2828import { TileLayer , TileLayerProps } from "@deck.gl/geo-layers" ;
2929import { isDefined } from "../util.js" ;
30- import { dispatch } from "../dispatch.js" ;
3130import { Experimental } from "@anywidget/types" ;
3231import { invoke } from "./invoke.js" ;
3332
@@ -206,7 +205,7 @@ export type TileLoadProps = {
206205 bbox : TileBoundingBox ;
207206 url ?: string | null ;
208207 signal ?: AbortSignal ;
209- userData ?: Record < string , any > ;
208+ userData ?: Record < string , any > ; // eslint-disable-line @typescript-eslint/no-explicit-any
210209 zoom ?: number ;
211210} ;
212211
@@ -293,18 +292,11 @@ export class BitmapTileModel extends BaseLayerModel {
293292 const out = await invoke ( this . model , "helloworld" , { } ) ;
294293 console . log ( "returned from invoke" ) ;
295294 console . log ( out ) ;
295+ console . log ( tile ) ;
296296
297297 // const { data, getTileData, fetch } = this.props;
298298 // const { signal } = tile;
299299
300- console . log ( tile ) ;
301- console . log ( "making dispatch" ) ;
302- console . log ( "this" ) ;
303- console . log ( this ) ;
304- const x = await dispatch ( this . model , "getTileData" ) ;
305- console . log ( "received dispatch" ) ;
306- console . log ( x ) ;
307-
308300 // // tile.url =
309301 // // typeof data === "string" || Array.isArray(data)
310302 // // ? getURLFromTemplate(data, tile)
0 commit comments