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

前端 未结 5 1159
心在旅途
心在旅途 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条回答
  •  -上瘾入骨i
    2021-01-19 18:23

    Set initial state values to 0 instead of null.

    this.state = {
      latitude:0,
      longitude: 0,
      latitudeDelta: 0.09,
      longitudeDelta: 0.02,
    };

提交回复
热议问题