Skip to content

增加了坐标转换#303

Open
yhaiquan wants to merge 8 commits intolovebing:masterfrom
yhaiquan:master
Open

增加了坐标转换#303
yhaiquan wants to merge 8 commits intolovebing:masterfrom
yhaiquan:master

Conversation

@yhaiquan
Copy link
Contributor

@yhaiquan yhaiquan commented Nov 8, 2019

增加了坐标转换功能

convertCoor({longitude,latitude}, CoorType from, CoorType to)
支持坐标系转换: WGS84->BD09LL, WGS84-GCJ02, BD09LL->GCJ02, GCJ02->BD09LL

@lovebing lovebing self-requested a review November 26, 2019 07:37
Copy link
Owner

@lovebing lovebing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

原生方法过于繁琐,只需要添加 convertCoor
以 Android 为例
public void convertCoor(ReadableMap source, String sourceType, String targetType, Promise promise)

@yhaiquan yhaiquan requested a review from lovebing November 27, 2019 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants