Skip to content

Commit

Permalink
try region instaed of initialRegion
Browse files Browse the repository at this point in the history
  • Loading branch information
bwees committed Aug 30, 2024
1 parent 12c1e2a commit de474df
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/components/map/MapView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit de474df

Please sign in to comment.