反应本地地图视图不加载地图

时间:2019-11-18 14:56:33

标签: android react-native google-maps google-maps-api-3

我正在android设备上测试我的应用程序中的新更改,一切正常,但是当我打开互联网以便google map可以加载时,一切都没有改变。我的API密钥有问题吗?我以前使用过此代码,地图将始终正常加载。

<MapView
  style={{ flex: 1 }}
  region={this.state.place.coordinates}
  ref={(c)=> this._map = c}
  showsUserLocation={true} >
    {this.getMarkers()}
</MapView>

enter image description here

0 个答案:

没有答案