获取当前位置经纬度请参考,可参考文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-geolocationmanager-V5计算两个经纬度的距离需要调用map.convertCoordinate方法转化后在计算 详情请参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/map-map-V5\#section1962210347237
获取当前位置经纬度请参考,可参考文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-geolocationmanager-V5
计算两个经纬度的距离需要调用map.convertCoordinate方法转化后在计算 详情请参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/map-map-V5\#section1962210347237