Disable changing camera pitch

This commit is contained in:
Tyler Hallada 2022-02-08 22:46:27 -05:00
parent df27a85aa1
commit bc41a41099

View File

@ -377,6 +377,7 @@ const Map: React.FC = () => {
[-180, -85.051129],
[180, 85.051129],
],
pitchWithRotate: false,
});
map.current.on("load", () => {
setMapLoaded(true);