提交 97fe8060 编写于 作者: 张敬贤's avatar 张敬贤

腾讯地图

上级 53136d99
...@@ -238,7 +238,8 @@ export default { ...@@ -238,7 +238,8 @@ export default {
break; break;
case 2: case 2:
// https://lbs.qq.com/webApi/uriV1/uriGuide/uriWebMarker api地址 // https://lbs.qq.com/webApi/uriV1/uriGuide/uriWebMarker api地址
url = 'https://apis.map.qq.com/uri/v1/geocoder?coord=' + latitude + ',' + longitude + '&referer=PICA'; // https://apis.map.qq.com/uri/v1/routeplan?type=bus&from=我的家&fromcoord=39.980683,116.302&to=中关村&tocoord=39.9836,116.3164&policy=1&referer=OB4BZ-D4W3U-B7VVO-4PJWW-6TKDJ-WPB77
url = `https://apis.map.qq.com/uri/v1/routeplan?type=drive&from=${geolocation.addr}&fromcoord=${geolocation.lng},${geolocation.lat}&to=${hospitalName}&tocoord=${longitude},${latitude}&policy=1&referer=GCUBZ-6O6K3-VVB3E-3PNKF-HY77K-G6BTN`;
break; break;
case 3: case 3:
// https://lbsyun.baidu.com/index.php?title=uri/api/web // https://lbsyun.baidu.com/index.php?title=uri/api/web
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册