From d3314dd328be9b2c69fd4c1cf2c2caf572a66b80 Mon Sep 17 00:00:00 2001 From: Erik Escoffier Date: Thu, 14 Sep 2023 11:07:32 +0200 Subject: [PATCH] Disable pitch and rotation --- app/scripts/components/common/map/map-component.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/scripts/components/common/map/map-component.tsx b/app/scripts/components/common/map/map-component.tsx index dbd1d3d33..2234dc600 100644 --- a/app/scripts/components/common/map/map-component.tsx +++ b/app/scripts/components/common/map/map-component.tsx @@ -1,4 +1,4 @@ -import React, { useCallback, ReactElement, useContext, useMemo } from 'react'; +import React, { useCallback, ReactElement, useContext, useMemo, useEffect } from 'react'; import ReactMapGlMap from 'react-map-gl'; import { ProjectionOptions } from 'veda'; import 'mapbox-gl/dist/mapbox-gl.css'; @@ -44,6 +44,10 @@ export default function MapComponent({