We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目的位置应该用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')}, ]
comgooglemaps://?saddr=${srcLocation ? (srcLocation.lat + ',' + srcLocation.lng) : ''}&daddr=${distLocation.lat},${distLocation.lng}&directionsmode=${mode === 'drive' ? 'driving' : (mode === 'bus' ? 'transit' : 'walking')}
The text was updated successfully, but these errors were encountered:
@RuochaoYan 你可以跳转谷歌地图吗?
Sorry, something went wrong.
No branches or pull requests
目的位置应该用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')}
,]
The text was updated successfully, but these errors were encountered: