Skip to content

小建议 #4

@RuochaoYan

Description

@RuochaoYan

目的位置应该用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')},
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions