Skip to content

Commit

Permalink
Increment vessel track arrow size
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Sep 9, 2021
1 parent 0260560 commit b9c4cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/domain/entities/vesselTrack.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class VesselTrack {
const arrowStyle = getArrowStyle(trackArrow, arrowFeature.course)

arrowFeature.setStyle((feature, resolution) => {
arrowStyle[0].getImage().setScale(0.1 + 1 / Math.pow(resolution, 1 / 6))
arrowStyle[0].getImage().setScale(0.3 + 1 / Math.pow(resolution, 1 / 6))

return arrowStyle
})
Expand Down

0 comments on commit b9c4cfc

Please sign in to comment.