• H5唤起地图导航路线,唤起高德地图app,百度地图,腾讯


    1.高德地图

    1. <a href="https://uri.amap.com/marker?position=经度,纬度&name=所在的位置名称">高德地图</a>
    2. <a href="http://uri.amap.com/navigation?from=114.02597366,22.54605355&to=114.029243,22.609562&mode=car&src=nyx_super;">高德地图</a>
    3. <a href="http://uri.amap.com/navigation?from=开始位置经度,开始位置纬度&to=结束位置经度,结束位置纬度&mode=car&src=nyx_super;">高德地图</a>

    2.百度地图

    1. <a href="http://api.map.baidu.com/marker?location=纬度,经度&title=所在位置名称&content=所在位置的简介(可选)&output=html">百度地图</a>
    2. <a href="http://api.map.baidu.com/direction?origin=起点纬度,起点经度&destination=终点纬度,终点经度&mode=driving®ion=深圳&output=html">百度地图</a>

    3.腾讯地图:

    腾讯地图

     let webviewURL = 'http://apis.map.qq.com/uri/v1/markermarker=coord:31.2353,121.48108;addr:上海市人民广场'  // 腾讯

    uniapp demo

    /pages/index/index.vue:

    /pages/index/webview.vue :


     

     

  • 相关阅读:
    第四章 玩转捕获数据包
    2022-09-18 mysql-subselect相关执行流程记录
    项目讲解之常见安全漏洞
    关联规则算法Apriori algorithm详解以及为什么它不适用于所有的推荐系统
    数学分析—集合与映射
    部署前后端分离项目
    运维工程师怎么找兼职?什么样的兼职合适?
    XSS攻击(3), 实战XSS注入思路
    excel学习
    docker elasticsearch 7.16.3安装ik分词器
  • 原文地址:https://blog.csdn.net/wwf1225/article/details/133902237