Disable changing camera pitch
This commit is contained in:
parent
df27a85aa1
commit
bc41a41099
@ -377,6 +377,7 @@ const Map: React.FC = () => {
|
|||||||
[-180, -85.051129],
|
[-180, -85.051129],
|
||||||
[180, 85.051129],
|
[180, 85.051129],
|
||||||
],
|
],
|
||||||
|
pitchWithRotate: false,
|
||||||
});
|
});
|
||||||
map.current.on("load", () => {
|
map.current.on("load", () => {
|
||||||
setMapLoaded(true);
|
setMapLoaded(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user