//Business_Latitude_new,Business_Longitude_new是当前坐标 //$latitude,$longitude是目标坐标 distance=6371.012 * acos(cos(acos(-1) / 180 * Business_Latitude_new) * cos(acos(-1) / 180 * $latitude) * cos(acos(-1) / 180 * Business_Longitude_new - acos(-1) / 180 * $longitude) + sin(acos(-1) / 180 * Business_Latitude_new) * sin(acos(-1) / 180 * $latitude))*1
百度地图作为新一代人工智能地图,服务覆盖全球200+城市及国家。导航可信赖、语音交互更简单、数据丰富更贴心的百度地图,致力于为用户提供更准确、更丰富、更易用的出行服务。有需要的小伙伴快来保存下载体验吧!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号