Fixing marker position text
This commit is contained in:
parent
921f8b1a30
commit
bed929ed63
File diff suppressed because one or more lines are too long
|
@ -475,7 +475,7 @@ class Home extends BaseScreen {
|
|||
pitch: 0,
|
||||
heading: 0,
|
||||
altitude: 5,
|
||||
zoom: 13
|
||||
zoom: 12
|
||||
}, 1000)
|
||||
this.setState({ myPositionIsAnimated: true })
|
||||
|
||||
|
@ -542,7 +542,7 @@ class Home extends BaseScreen {
|
|||
longitudeDelta: 0.01,
|
||||
}
|
||||
this.setState({ myPosition: myPosition });
|
||||
this.refocusMap(false);
|
||||
this.refocusMap(true);
|
||||
}
|
||||
|
||||
/*if (Platform.OS === 'android') {
|
||||
|
@ -1417,17 +1417,19 @@ class Home extends BaseScreen {
|
|||
latitude: parseFloat(user.latitude),
|
||||
longitude: parseFloat(user.longitude)
|
||||
}
|
||||
|
||||
this.mapRef.animateCamera({
|
||||
center: {
|
||||
latitude: myPosition.latitude,
|
||||
longitude: myPosition.longitude
|
||||
},
|
||||
pitch: 0,
|
||||
heading: 0,
|
||||
altitude: 5,
|
||||
zoom: 12
|
||||
}, 1000);
|
||||
this.setState({ myPosition });
|
||||
this.refocusMap(false);
|
||||
/*
|
||||
this.mapRef.animateCamera({
|
||||
center: {
|
||||
latitude: myPosition.latitude,
|
||||
longitude: myPosition.longitude
|
||||
},
|
||||
pitch: 0,
|
||||
heading: 0,
|
||||
altitude: 5,
|
||||
zoom: 12
|
||||
}, 1000); */
|
||||
|
||||
if (user.category) {
|
||||
this.setState({ loadingDialog: false })
|
||||
|
|
Loading…
Reference in New Issue