Skip to content

Commit

Permalink
Merge pull request #388 from dataforgoodfr/hotfix/frontend/compilatio…
Browse files Browse the repository at this point in the history
…n-error

Removed use of direct deckgl lib
  • Loading branch information
HenriChabert authored Dec 18, 2024
2 parents 9447d94 + a907c5c commit f3b15fc
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion frontend/components/core/map/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
import vesselAtlas from "@/public/img/vessel_atlas.json"
import type { PickingInfo } from "@deck.gl/core"
import { IconMapping } from "@deck.gl/layers/src/icon-layer/icon-manager"

type IconMapping = {
[key: string]: {
x: number
y: number
width: number
height: number
anchorX: number
anchorY: number
mask: boolean
}
}

export const getPickObjectType = (
info: PickingInfo
Expand Down

0 comments on commit f3b15fc

Please sign in to comment.