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,
|
pitch: 0,
|
||||||
heading: 0,
|
heading: 0,
|
||||||
altitude: 5,
|
altitude: 5,
|
||||||
zoom: 13
|
zoom: 12
|
||||||
}, 1000)
|
}, 1000)
|
||||||
this.setState({ myPositionIsAnimated: true })
|
this.setState({ myPositionIsAnimated: true })
|
||||||
|
|
||||||
|
@ -542,7 +542,7 @@ class Home extends BaseScreen {
|
||||||
longitudeDelta: 0.01,
|
longitudeDelta: 0.01,
|
||||||
}
|
}
|
||||||
this.setState({ myPosition: myPosition });
|
this.setState({ myPosition: myPosition });
|
||||||
this.refocusMap(false);
|
this.refocusMap(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*if (Platform.OS === 'android') {
|
/*if (Platform.OS === 'android') {
|
||||||
|
@ -1417,7 +1417,9 @@ class Home extends BaseScreen {
|
||||||
latitude: parseFloat(user.latitude),
|
latitude: parseFloat(user.latitude),
|
||||||
longitude: parseFloat(user.longitude)
|
longitude: parseFloat(user.longitude)
|
||||||
}
|
}
|
||||||
|
this.setState({ myPosition });
|
||||||
|
this.refocusMap(false);
|
||||||
|
/*
|
||||||
this.mapRef.animateCamera({
|
this.mapRef.animateCamera({
|
||||||
center: {
|
center: {
|
||||||
latitude: myPosition.latitude,
|
latitude: myPosition.latitude,
|
||||||
|
@ -1427,7 +1429,7 @@ class Home extends BaseScreen {
|
||||||
heading: 0,
|
heading: 0,
|
||||||
altitude: 5,
|
altitude: 5,
|
||||||
zoom: 12
|
zoom: 12
|
||||||
}, 1000);
|
}, 1000); */
|
||||||
|
|
||||||
if (user.category) {
|
if (user.category) {
|
||||||
this.setState({ loadingDialog: false })
|
this.setState({ loadingDialog: false })
|
||||||
|
|
Loading…
Reference in New Issue