Skip to content

Commit

Permalink
#7354 fix geolocation heading with ol (#7355) (#7356)
Browse files Browse the repository at this point in the history
  • Loading branch information
MV88 authored Sep 23, 2021
1 parent e672cc3 commit 8df9d4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/client/map/openlayers/locate.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const defaultOpt = {
stopFollowingOnDrag: true,
keepCurrentZoomLevel: false,
locateOptions: {
speedThreshold: 0.8, // m/s
maximumAge: 2000,
enableHighAccuracy: true, // heading is only defined if the enableHighAccuracy is set to true
timeout: 10000,
Expand Down

0 comments on commit 8df9d4d

Please sign in to comment.