-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Description
related to #187
I'm rendering my map like so:
<MapView
ref='mapView'
style={{flex: 1}}
onPress={this._onPress.bind(this)}
followsUserLocation={true}
showsCompass={true}
showsUserLocation={true} >
{this.props.onlineUsers.map(u => Marker(u, this.props))}
{this.props.selectedUser ? Circle(this.props.selectedUser) : null}
</MapView>and corresponding circle class:
const Circle = user => {
console.log(user.location.coords.longitude)
return (
<MapView.Circle
center={user.location.coords}
radius={user.location.coords.accuracy}
strokeColor='transparent'
fillColor={wRedLighter}/>
)
}the logs show that the coordinates are changing. but the circle remains in the same place until i remove it and re-add it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels