Skip to content

Commit 40515a8

Browse files
authored
Merge pull request #355 from wavect/OF-496-App-Map-Locator-button-doesn-t-center-user-location
[TBD: User privacy] OF-496 - Fixed Map - Locator button to center user location
2 parents e972ae0 + 9f9c70b commit 40515a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mobile/components/OMap/OMap.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ export const OMap = (props: OMapProps) => {
6161
setMapRegion({
6262
latitude: location.coords.latitude,
6363
longitude: location.coords.longitude,
64-
latitudeDelta: 0.0922,
65-
longitudeDelta: 0.0421,
64+
latitudeDelta: 0.003,
65+
longitudeDelta: 0.003,
6666
});
6767
}
6868
}, [location]);
@@ -228,7 +228,7 @@ export const OMap = (props: OMapProps) => {
228228
zoomControlEnabled={true}
229229
zoomEnabled={true}
230230
zoomTapEnabled={true}
231-
maxZoomLevel={13}
231+
maxZoomLevel={15}
232232
minZoomLevel={8}
233233
onPress={handleMapPress}
234234
onLongPress={

0 commit comments

Comments
 (0)