ios map working
This commit is contained in:
parent
b68ad15d6b
commit
5b52e87e1a
|
@ -2,7 +2,7 @@
|
||||||
"expo": {
|
"expo": {
|
||||||
"name": "Enatega Rider",
|
"name": "Enatega Rider",
|
||||||
"description": "Enatega is a starter kit food ordering app built in React Native using Expo for IOS and Android. It's made keeping good aesthetics in mind as well keeping the best coding practices in mind. Its fully customisable to easily help you in your next food delivery project. https://market.nativebase.io/view/react-native-food-delivery-backend-app",
|
"description": "Enatega is a starter kit food ordering app built in React Native using Expo for IOS and Android. It's made keeping good aesthetics in mind as well keeping the best coding practices in mind. Its fully customisable to easily help you in your next food delivery project. https://market.nativebase.io/view/react-native-food-delivery-backend-app",
|
||||||
"version": "4.2.4",
|
"version": "4.2.6",
|
||||||
"slug": "food-delivery-rider",
|
"slug": "food-delivery-rider",
|
||||||
"privacy": "public",
|
"privacy": "public",
|
||||||
"androidStatusBar": {
|
"androidStatusBar": {
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
"supportsTablet": true,
|
"supportsTablet": true,
|
||||||
"bundleIdentifier": "com.enatega.driver",
|
"bundleIdentifier": "com.enatega.driver",
|
||||||
"config": {
|
"config": {
|
||||||
"googleMapsApiKey": ""
|
"googleMapsApiKey": "AIzaSyCzNP5qQql2a5y8lOoO-1yj1lj_tzjVImA"
|
||||||
},
|
},
|
||||||
"infoPlist": {
|
"infoPlist": {
|
||||||
"NSCameraUsageDescription": "To scan credit cards using Stripe sdk.",
|
"NSCameraUsageDescription": "To scan credit cards using Stripe sdk.",
|
||||||
|
|
|
@ -356,11 +356,11 @@ function OrderDetail() {
|
||||||
<MapView
|
<MapView
|
||||||
style={styles.flex}
|
style={styles.flex}
|
||||||
scrollEnabled={false}
|
scrollEnabled={false}
|
||||||
|
zoomEnabled={false}
|
||||||
loadingBackgroundColor={colors.tagColor}
|
loadingBackgroundColor={colors.tagColor}
|
||||||
zoomControlEnabled={false}
|
zoomControlEnabled={false}
|
||||||
rotateEnabled={false}
|
rotateEnabled={false}
|
||||||
cacheEnabled={true}
|
cacheEnabled={true}
|
||||||
googleMapsApiKey="AIzaSyCzNP5qQql2a5y8lOoO-1yj1lj_tzjVImA"
|
|
||||||
initialRegion={{
|
initialRegion={{
|
||||||
latitude: parseFloat(selectedOrder.delivery_address.latitude),
|
latitude: parseFloat(selectedOrder.delivery_address.latitude),
|
||||||
latitudeDelta: LATITUDE_DELTA,
|
latitudeDelta: LATITUDE_DELTA,
|
||||||
|
|
Loading…
Reference in New Issue