uni-map-co.param.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. // chooseLocation({
  2. // action: "location2address",
  3. // needOriginalResult: true,
  4. // data: {
  5. // location: "39.908815,116.397507",
  6. // get_poi: 1,
  7. // poi_options: {
  8. // address_format: "short",
  9. // radius: 5000,
  10. // policy: 4,
  11. // //poitype: "010101",
  12. // roadlevel: 1,
  13. // homeorcorp: 1,
  14. // page_index: 1,
  15. // page_size: 1,
  16. // }
  17. // }
  18. // })
  19. // location2address({
  20. // location: "39.908815,116.397507",
  21. // get_poi: 1,
  22. // poi_options: {
  23. // address_format: "short",
  24. // radius: 5000,
  25. // policy: 4,
  26. // //poitype: "010101",
  27. // roadlevel: 1,
  28. // homeorcorp: 1
  29. // }
  30. // });
  31. address2location({
  32. address: "北京市海淀区彩和坊路海淀西大街74号",
  33. city: "北京"
  34. });
  35. // translate({
  36. // locations: [
  37. // { lat: 39.908815, lng: 116.397507 },
  38. // { lat: 39.908815, lng: 116.397107 }
  39. // ],
  40. // type: 3
  41. // });
  42. // ip定位
  43. // ip2location({
  44. // ip: "111.206.145.41"
  45. // });
  46. // 输入提示
  47. // inputtips({
  48. // keyword: "人民医院",
  49. // city: "北京市",
  50. // datatype: "all",
  51. // get_subpois: 1
  52. // });
  53. // 周边搜索
  54. // search({
  55. // keyword: "酒店",
  56. // location: {
  57. // lat: 39.908815,
  58. // lng: 116.397507
  59. // },
  60. // radius: 1000,
  61. // auto_extend: 1,
  62. // get_subpois: 1,
  63. // orderby: "weight",
  64. // page_index: 1,
  65. // page_size: 20,
  66. // city: "北京市"
  67. // });
  68. // 行政区划
  69. // districtSearch({
  70. // adcode: "110000",
  71. // get_polygon: 2,
  72. // max_offset: 500,
  73. // subdistrict: 2
  74. // });
  75. // 导航 - 驾车
  76. // route({
  77. // mode: "driving",
  78. // from: "39.808815,116.387507",
  79. // to: "39.908815,116.397507",
  80. // get_mp: 1,
  81. // });
  82. // 导航 - 步行
  83. // route({
  84. // mode: "walking",
  85. // from: "40.034852,116.319820",
  86. // to: "39.771075,116.351395",
  87. // alternative_route: 3
  88. // });
  89. // 导航 - 骑行
  90. // route({
  91. // mode: "bicycling",
  92. // from: "40.034852,116.319820",
  93. // to: "39.771075,116.351395",
  94. // alternative_route: 3
  95. // });
  96. // 导航 - 电动车
  97. // route({
  98. // mode: "ebicycling",
  99. // from: "40.034852,116.319820",
  100. // to: "39.771075,116.351395",
  101. // alternative_route: 3
  102. // });
  103. // 导航 - 公交
  104. // route({
  105. // mode: "transit",
  106. // from: "40.034852,116.319820",
  107. // to: "29.771075,116.351395",
  108. // //alternative_route: 3,
  109. // city1: "010",
  110. // city2: "0792",
  111. // });