Few more bug fixes
This commit is contained in:
@@ -97,16 +97,14 @@ export class Activity extends React.Component {
|
||||
.getActivity(id)
|
||||
.then((activity) => {
|
||||
if (activity) {
|
||||
const [lng, lat] = activity.location.coordinates
|
||||
activity.location = formatLatLng(lat, lng)
|
||||
this.setState({
|
||||
binder: new FormBinder(activity, Activity.bindings),
|
||||
region: {
|
||||
latitude: lat,
|
||||
longitude: lng,
|
||||
latitudeDelta: 0.01,
|
||||
longitudeDelta: 0.01,
|
||||
},
|
||||
// region: {
|
||||
// latitude: lat,
|
||||
// longitude: lng,
|
||||
// latitudeDelta: 0.01,
|
||||
// longitudeDelta: 0.01,
|
||||
// },
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user