mirror of
https://github.com/visgl/react-map-gl.git
synced 2026-01-18 15:54:22 +00:00
Reverse polarity of compass bearing rotation (#694)
This commit is contained in:
parent
55aa1a65d7
commit
c818fa2936
@ -75,7 +75,7 @@ export default class NavigationControl extends BaseControl {
|
||||
const {bearing} = this._context.viewport;
|
||||
return createElement('span', {
|
||||
className: 'mapboxgl-ctrl-compass-arrow',
|
||||
style: {transform: `rotate(${bearing}deg)`}
|
||||
style: {transform: `rotate(${-bearing}deg)`}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user