react-native - 显示MyLocationButton在android中不起作用(react-native-maps)
问题描述
显示MyLocationButton在android中不起作用
<MapView
style={styles.map}
region={this.state.initalRegion}
showsUserLocation={`enter code here`true}
showsMyLocationButton={true}
</MapView>
解决方案
推荐阅读
- javascript - 包含初始值后的 Array.prototype.reduce() 错误
- javascript - 如何在 React Redux 容器中自定义调度?
- node.js - 在 node.js 中发布请求“待处理”
- botframework - 缺少 QnA 会导致 bot,但它们会显示在日志中
- c# - 根据值选择多个集合的最佳拟合组合
- kubernetes - 无法使用 GCP Kubernetes 引擎页面创建集群抛出错误“加载失败”
- c++ - QMainWindow 的 setFixedSize() 根本不起作用
- python-3.x - 如何在逻辑回归的 numpy 实现中避免 NaN?
- machine-learning - Accuracy doesn't change over all epochs with multi-class classification
- ios - 我如何在 React Native 上更改 firebase IOS 项目