Skip to content

Commit

Permalink
Fix deck.gl initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerstolzenberg committed Mar 16, 2024
1 parent 5aa580d commit abdafa6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/map/map.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,12 @@ export class MapService {

renderSubLayers: props => {
// see: https://github.com/visgl/deck.gl/issues/8467
// tslint:disable-next-line
const { west, north, east, south } = props.tile.bbox as GeoBoundingBox;
const what = { ...props, data: undefined };

return [
new BitmapLayer({
data: undefined,
new BitmapLayer(what, {
image: props.data,
bounds: [west, south, east, north]
})
Expand Down

0 comments on commit abdafa6

Please sign in to comment.