Make mapbox navigation controls consistent

This commit is contained in:
Vesa Luusua 2018-09-07 17:18:51 +03:00
parent 9d4dec2971
commit 8e34b90957

View file

@ -65,7 +65,7 @@ class DynamicMapboxMap extends Component {
zoom,
scrollZoom: false,
});
this.map.addControl(new window.mapboxgl.NavigationControl(), 'top-left');
this.map.addControl(new window.mapboxgl.NavigationControl({ showCompass: false }), 'top-left');
if (mapsConfig.fuzzy.enabled) {
this.map.on('load', () => {