From de474dff1a89c2feacefb2945ff23fed4ae4fb30 Mon Sep 17 00:00:00 2001 From: bwees Date: Thu, 29 Aug 2024 21:31:31 -0500 Subject: [PATCH] try region instaed of initialRegion --- app/components/map/MapView.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/components/map/MapView.tsx b/app/components/map/MapView.tsx index 0b39dc6..3d5e96b 100644 --- a/app/components/map/MapView.tsx +++ b/app/components/map/MapView.tsx @@ -303,9 +303,7 @@ const Map: React.FC = () => { style={{ width: "100%", height: "100%" }} ref={mapViewRef} rotateEnabled={false} - initialRegion={defaultMapRegion} - mapType='standard' - provider={Platform.OS == "android" ? PROVIDER_GOOGLE : PROVIDER_DEFAULT} + region={defaultMapRegion} onPanDrag={() => setIsViewCenteredOnUser(false)} showsMyLocationButton={false} // we have our own customMapStyle={Platform.OS == "android" && theme.mode == "dark" ? DarkGoogleMaps : undefined}