-
"react": "16.9.0",
"react-native": "0.61.5",
"react-native-amap-geolocation": "^1.0.4",
"react-native-amap3d": "^2.0.1",
_以前的版本是有animateTo这个方法可以实现的,但是更新到2.0.1后就没有这个方法了
-
"react": "16.9.0",
"react-native": "0.61.5"
可以和react-native-amap-geolocation一起使用吗?
-
https://uiwjs.github.io/react-amap/#/polygon-editor
-
希望暴露获取原生对象,的入口函数。如react-amap的events属性
想通过该插件获取中心点点位置
`getCurrentPosition(callback:function(status,result){})`
-
-
react-native 0.62.2
react-native-amap-geolcation 1.1.2
xcode 12.2
点击无反应
```
Geolocation.getCurrentPosition(res => {
console.log(res)
setLocation({ ...res })
},
err => {…
-
**为了节省大家的时间,请尽可能详细地说明问题,并最好提供截图(特别是出错信息)。**
"react-native": "0.62.0",
"react-native-amap-geolocation": "^1.1.2",
"react-native-amap3d": "^2.0.3",
这么写 不走Geolocation.getCurrentPosition方法
![111](…
-
在 Electron 中会报 `net::ERR_FAILED` 错误:
https://github.com/ElemeFE/react-amap/blob/de48f215b824f42037f57d10939feb61cbd54ac0/components/markers/index.js#L171
-
https://github.com/uiwjs/react-amap/blob/c04525cb251c763b9711b1ce72cfdb94f042d855/packages/map/src/useMap.tsx#L68
-
Unhandled JS Exception: undefined is not an object (evaluating '_reactNativeSmartAmapLocation2.default.init')使用了react-native-smart-amap-location组件定位就一直报这样错