uni-map-co.param.js 1.8 KB

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