Skip to content

Commit

Permalink
Fix vessel with null speed display
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Nov 6, 2024
1 parent 9cf7585 commit 9a2edac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/features/Vessel/layers/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const getWebGLVesselStyle = (): WebGLStyle => {
filterColor,
defaultVesselColor
],
'icon-offset': ['case', ['>', ['get', 'speed'], Vessel.vesselIsMovingSpeed], [0, 0], [0, 25]],
'icon-offset': ['case', ['>', ['get', 'speed'], Vessel.vesselIsMovingSpeed], [0, 0], [25, 0]],
'icon-opacity': [
'case',
featureHas('hasBeaconMalfunction'),
Expand Down

0 comments on commit 9a2edac

Please sign in to comment.