Comments (13)
from react-native-baidumap-sdk.
定位与逆地理编码没有任何关系
from react-native-baidumap-sdk.
这就好奇怪了,走定位了,但是逆地理编译出来的城市为空。
from react-native-baidumap-sdk.
我怎么觉得你的理解不对,哪里有逆地理编码?
from react-native-baidumap-sdk.
就是定位之后,走监听方法,项目需要当前位置信息,然后用了reverse方法
from react-native-baidumap-sdk.
有看过 example?
from react-native-baidumap-sdk.
看过啦,就是部分机型,定位后逆地理编码有问题。
from react-native-baidumap-sdk.
所以逆地理编码和定位有什么关系?两者是独立的模块呀
from react-native-baidumap-sdk.
这个我知道,逆地理编码不得依赖于定位监听
this.listener = Location.addLocationListener((location)这个方法嘛
我给reverse嵌套到这个方法里面了
有的机型就会出现城市为空的情况
from react-native-baidumap-sdk.
这个需要你自己写代码验证,如果确定问题的存在,我再看看什么问题
from react-native-baidumap-sdk.
我只是想跟你探讨下为啥有这个问题的存在,嘿嘿。98%以上机型是没问题的,有的就是不知道为啥会出现这样的问题。
from react-native-baidumap-sdk.
谢啦
from react-native-baidumap-sdk.
如果真的存在问题,那么大概是逆地理编码的问题,而失败其实是有信息的,只是我暂时忽略掉了
有能力的话可以自己调试下原生的代码
from react-native-baidumap-sdk.
Related Issues (20)
- 自定义marker时怎么设置偏移量
- 升级百度Map SDK HOT 3
- making it incompatible with Gradle 6.0.
- something went wrong with kotlin-gradle-plugin and Location
- 继续监听定位的API有吗? HOT 1
- Geocode在开发环境获取位置成功,但是在release的时候报错
- ios pod install error
- TypeError: null is not an object (evaluating 'BaiduMapLocation.init') HOT 3
- ios版本setStates方法报错null
- Polygon在ios上画出来,滑动地图会有划痕一样的线,这个有遇到过的么?
- 请问想要实现战争迷雾的那种效果,要用什么来实现呢? HOT 1
- setStatus引起的anr问题
- 最近更新的内容为什么不发布 npm? HOT 1
- android 本地引用原生百度地图· rn在引用link后编译冲突怎么解决? HOT 1
- project ':react-native-baidumap-sdk' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.41 HOT 6
- 地图老旧了有解决方案吗
- 地图初始化报错:TypeError: null is not an object (evaluating 'BaiduMapInitializer.init') HOT 3
- requireNativeComponent: "BaiduMapMarker" was not found in the UIManager. HOT 3
- 求求ios配置教程 HOT 2
- 应用启动崩溃 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-baidumap-sdk.