tg-map-vue3 3.6.8 → 3.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { Location } from '../../lat-lng';
1
+ import { Location, type LatLng } from '../../lat-lng';
2
2
  export type DirectionMode = 'transit' | 'driving' | 'walking';
3
3
  /** google多支持一种导航模式 */
4
4
  type GoogleDirectionMode = DirectionMode | 'bicycling';
@@ -35,9 +35,25 @@ export declare class GoogleMapUrls extends MapUrls {
35
35
  */
36
36
  export declare class BaiduMapUrls extends MapUrls {
37
37
  static BASE_URL: string;
38
- /** @see https://lbsyun.baidu.com/faq/api?title=webapi/uri/web#:~:text=%E6%9C%8D%E5%8A%A1%E5%9C%B0%E5%9D%80-,http%3A//api.map.baidu.com/direction,-//PC%26Webapp%E6%9C%8D%E5%8A%A1 */
38
+ /**
39
+ * 导航
40
+ * @see https://lbsyun.baidu.com/faq/api?title=webapi/uri/web#:~:text=%E6%9C%8D%E5%8A%A1%E5%9C%B0%E5%9D%80-,http%3A//api.map.baidu.com/direction,-//PC%26Webapp%E6%9C%8D%E5%8A%A1
41
+ * */
39
42
  directions(origin: Location | undefined, destination: Location, mode?: DirectionMode): URL;
40
- /** @see https://lbsyun.baidu.com/faq/api?title=webapi/uri/web#%E5%9B%BE%E5%8C%BA%E5%8A%9F%E8%83%BD:~:text=%E4%B8%8D%E4%BF%9D%E8%AF%81%E6%9C%8D%E5%8A%A1%E3%80%82-,2.1.2%20%E5%9C%B0%E5%9D%80%E8%A7%A3%E6%9E%90,-%E8%B0%83%E7%94%A8%E8%AF%A5 */
41
43
  search(location: Location): URL;
44
+ /**
45
+ * 显示经纬度, {@link markerApi}中途跳转的url, 一定能够定位到
46
+ * */
47
+ latlngApi(location: LatLng): URL;
48
+ /**
49
+ * 显示marker点, 由于缓存等因素的存在, 不一定能够定位到点
50
+ * @see https://lbsyun.baidu.com/faq/api?title=webapi/uri/web#%E5%9B%BE%E5%8C%BA%E5%8A%9F%E8%83%BD
51
+ */
52
+ markerApi(location: LatLng, title: string, content: string): URL;
53
+ /**
54
+ * 编码/反编码, 由于缓存等因素的存在, 不一定能够定位到点
55
+ * @see https://lbsyun.baidu.com/faq/api?title=webapi/uri/web#%E5%9B%BE%E5%8C%BA%E5%8A%9F%E8%83%BD:~:text=%E4%B8%8D%E4%BF%9D%E8%AF%81%E6%9C%8D%E5%8A%A1%E3%80%82-,2.1.2%20%E5%9C%B0%E5%9D%80%E8%A7%A3%E6%9E%90,-%E8%B0%83%E7%94%A8%E8%AF%A5
56
+ * */
57
+ geocoderApi(location: Location): URL;
42
58
  }
43
59
  export {};