mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 18:41:16 +01:00
Use visualizePitch option
This commit is contained in:
parent
46b2fd5978
commit
975487d271
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ export default class MapboxGlMap extends React.Component {
|
|||
const zoom = new ZoomControl;
|
||||
map.addControl(zoom, 'top-right');
|
||||
|
||||
const nav = new MapboxGl.NavigationControl();
|
||||
const nav = new MapboxGl.NavigationControl({visualizePitch:true});
|
||||
map.addControl(nav, 'top-right');
|
||||
|
||||
const tmpNode = document.createElement('div');
|
||||
|
|
Loading…
Reference in a new issue