Reaction-Native-贴图将颜色填充到每个区域

问题描述我有一个要求在iOS上显示缅甸地图。缅甸有7个邦和7个地区。我的要求是用户点击地图上的州或地区,然后显示特定的数据。我使用的是反应本地地图和Geojson数据。请看附件。它显示了iOS应用程序。我的Geojson已经具有每个区域和州的填充颜色和笔划颜色数据。但我面临的问题

发布:2022-10-16 标签:iosgeojsonreact-native-maps


获取配置中的"supportLibVersion"、"playServicesVersion"和"androidMapsUtilsVersion&Quot;值

问题描述我正在安装react-native-maps。在安装指南中,3.1节的BuildconfigurationonAndroid上显示:buildscript{ext{buildToolsVersion="xxx"minSdkVersion=xxxcompileSdkVers

发布:2022-10-16 标签:javascriptreact-nativereact-native-androidgoogle-play-servicesreact-native-maps


Android 模拟器没有在屏幕上显示谷歌地图

问题描述我一直在尝试关注这个https://github.com/airbnb/react-native-maps教程我尝试了他们所说的一切,但在我的androidstudio模拟器上出现了空白屏幕.Ihavebeentryingtofollowthishttps://githu

发布:2022-10-16 标签:androidgoogle-mapsreact-nativeandroid-emulatorreact-native-maps


UI 不会在状态更改时更新

问题描述我正在使用reactnativemaps并在componentDidMount()上要求用户启用他们的位置.IamusingreactnativemapsandoncomponentDidMount()askingusertoenabletheirlocation.com

发布:2022-10-16 标签:javascriptreactjsreact-nativereact-native-androidreact-native-maps


在 Reactnative 中自动获取当前位置

问题描述我有这种方法可以通过单击按钮来获取当前位置,它将获取当前位置.我想在不点击那个按钮的情况下获取位置.Ihavethismethodtofetchcurrentlocationbyclickingbuttonitwillfetchcurrentlocation.Iwantt

发布:2022-10-16 标签:react-nativereact-native-androidreact-native-maps


react-native - 如何使用 react-native-maps 显示地图

问题描述我正在尝试使用是我的样式表还是我调用了MapView"组件?代码如下:varMapView=require('react-native-maps');类Map扩展了React.Component{构造函数(道具){超级(道具);this.state={}}使成为(){返回

发布:2022-10-16 标签:react-nativereact-native-androidreact-native-iosreact-native-maps


反应原生地图标注按下未在 IOS 上触发

问题描述我正在使用本机地图,并且我正在尝试在按下标记标注时添加事件侦听器.它适用于Android,但不适用于IOS.在第一个片段中,calloutPress在Android上被调用,但在IOS上没有:I'musingreactnativemapsandI'mtryingtoadd

发布:2022-10-16 标签:iosreact-nativereact-native-maps


问:react-native-maps:如何将marker.showCallout() 用于映射为标记的坐标数组

问题描述我目前正在使用react-native-maps来模拟地图空间周围的各种移动对象(模拟项目的实时跟踪),并在标记旁边显示每个对象的名称.I'mcurrentlyfiddlingaroundwithreact-native-mapstosimulatevariousmovi

发布:2022-10-16 标签:androidreact-nativereact-native-maps


React-native:如何在不单击 react-native-maps 中的标记的情况下显示工具提示

问题描述我正在使用react-native-maps模块.我已经给出了经纬度值,并且我已经使用MapView.Marker在单击标记时显示标记和工具提示.Iamusingreact-native-mapsmodule.Ihavegivenlatandlongvaluesandih

发布:2022-10-16 标签:react-nativereact-native-maps


如何修复“AIRMap"在 React Native 的 UIManager 错误中没有找到?

问题描述未处理的JS异常:不变违规:requireNativeComponent:在UIManager中找不到AIRMap".此错误位于:在AIRMap中(在MapView.js:760)在MapView中(在App.js:25)在RCTView中(在View.js:43)在应用

发布:2022-10-16 标签:iosreact-nativereact-native-maps