Bug fixing
This commit is contained in:
@@ -27,6 +27,7 @@ import KeyboardSpacer from "react-native-keyboard-spacer"
|
||||
import { isIphoneX } from "react-native-iphone-x-helper"
|
||||
import { api } from "../API"
|
||||
import { formatLatLng, parseLatLng } from "../util"
|
||||
import "url-search-params-polyfill"
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
@@ -189,7 +190,7 @@ export class Activity extends React.Component {
|
||||
<BoundHeader
|
||||
binder={binder}
|
||||
name="header"
|
||||
title="Work Item"
|
||||
title="Activity"
|
||||
leftButton={{ icon: "back", onPress: this.handleBackPress }}
|
||||
rightButton={{ icon: "done", onPress: this.handleDonePress }}
|
||||
/>
|
||||
@@ -220,31 +221,33 @@ export class Activity extends React.Component {
|
||||
label="Date & Time:"
|
||||
/>
|
||||
<BoundInput binder={binder} name="location" label="Location:" />
|
||||
<MapView
|
||||
style={{
|
||||
flexDirection: "column",
|
||||
justifyContent: "center",
|
||||
width: "100%",
|
||||
height: 400,
|
||||
marginTop: 10,
|
||||
}}
|
||||
zoomControlEnabled={false}
|
||||
zoomEnabled={false}
|
||||
scrollEnabled={false}
|
||||
rotateEnabled={false}
|
||||
pitchEnabled={false}
|
||||
showsIndoors={false}
|
||||
showsTraffic={false}
|
||||
showsCompass={false}
|
||||
showsScale={false}
|
||||
showsUserLocation
|
||||
cacheEnabled
|
||||
initialRegion={{
|
||||
latitude: 43.653908,
|
||||
longitude: -79.384293,
|
||||
latitudeDelta: 0.0922,
|
||||
longitudeDelta: 0.0421,
|
||||
}}>
|
||||
<View style={{ flexDirection: "column", justifyContent: "center" }}>
|
||||
<MapView
|
||||
style={{
|
||||
flexDirection: "column",
|
||||
justifyContent: "center",
|
||||
width: "100%",
|
||||
height: 400,
|
||||
marginTop: 10,
|
||||
}}
|
||||
zoomControlEnabled={false}
|
||||
zoomEnabled={false}
|
||||
scrollEnabled={false}
|
||||
rotateEnabled={false}
|
||||
pitchEnabled={false}
|
||||
showsIndoors={false}
|
||||
showsTraffic={false}
|
||||
showsCompass={false}
|
||||
showsScale={false}
|
||||
showsUserLocation
|
||||
cacheEnabled
|
||||
initialRegion={{
|
||||
latitude: 43.653908,
|
||||
longitude: -79.384293,
|
||||
latitudeDelta: 0.0922,
|
||||
longitudeDelta: 0.0421,
|
||||
}}
|
||||
/>
|
||||
<Icon
|
||||
name="target"
|
||||
size={24}
|
||||
@@ -254,7 +257,7 @@ export class Activity extends React.Component {
|
||||
alignSelf: "center",
|
||||
}}
|
||||
/>
|
||||
</MapView>
|
||||
</View>
|
||||
</View>
|
||||
<View style={styles.panel}>
|
||||
<PhotoPanel />
|
||||
|
||||
Reference in New Issue
Block a user