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

前端 未结 5 1224
心在旅途
心在旅途 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:32

    The fix is this: while you are updating the component, make sure that you are not passing null in the coordinates' latitude or longitude.

    I faced the same error while looping through an object, where some of my fields were empty. I solved it by defaulting to 0 whenever there was an empty value.

提交回复
热议问题