Skip to content

Commit b7cc42e

Browse files
committed
OF-496 - Fixed Map - Locator button to center user location
1 parent cd8b0fa commit b7cc42e

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
@@ -87,8 +87,8 @@ export const OMap = forwardRef<OMapRefType | null, OMapProps>((props, ref) => {
8787
setMapRegion({
8888
latitude: location.coords.latitude,
8989
longitude: location.coords.longitude,
90-
latitudeDelta: 0.0922,
91-
longitudeDelta: 0.0421,
90+
latitudeDelta: 0.003,
91+
longitudeDelta: 0.003,
9292
});
9393
}
9494
}, [location]);
@@ -252,7 +252,7 @@ export const OMap = forwardRef<OMapRefType | null, OMapProps>((props, ref) => {
252252
zoomControlEnabled={true}
253253
zoomEnabled={true}
254254
zoomTapEnabled={true}
255-
maxZoomLevel={13}
255+
maxZoomLevel={20}
256256
minZoomLevel={8}
257257
onPress={handleMapPress}
258258
onLongPress={

0 commit comments

Comments
 (0)