Error while updating property 'coordinate' of a view managed by: AIRMapMarker (React native)

前端 未结 5 1216
心在旅途
心在旅途 2021-01-19 18:08

I have been searching the web for proper documentation in regards to this error, am in in no luck as i am unable to determine the cause of this error.

Here is the m

5条回答
  •  渐次进展
    2021-01-19 18:25

    passing this helped me solve this:

    coordinate={{
         latitude: props && props.position && Number(props.position.latitude) ? Number(props.position.latitude) : 0,
         longitude: props && props.position && Number(props.position.longitude) ? Number(props.position.longitude) : 0 
    }}
    

提交回复
热议问题