Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小建议 #4

Open
RuochaoYan opened this issue Nov 5, 2017 · 1 comment
Open

小建议 #4

RuochaoYan opened this issue Nov 5, 2017 · 1 comment

Comments

@RuochaoYan
Copy link

目的位置应该用destLocation吧,dist通常表示distribution。
另外如果加上谷歌地图就更好了,因为我要用谷歌地图的规划线路所以我就自己加了一个
[
'Navigate by Google Maps',
comgooglemaps://?saddr=${srcLocation ? (srcLocation.lat + ',' + srcLocation.lng) : ''}&daddr=${distLocation.lat},${distLocation.lng}&directionsmode=${mode === 'drive' ? 'driving' : (mode === 'bus' ? 'transit' : 'walking')},
]

@GuoJiKaiHehe
Copy link

@RuochaoYan 你可以跳转谷歌地图吗?

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

No branches or pull requests

2 participants