uni-map-co.param.js 2.2 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
// chooseLocation({
// 	action: "location2address",
// 	needOriginalResult: true,
// 	data: {
// 			location: "39.908815,116.397507",
// 			get_poi: 1,
// 			poi_options: {
// 				address_format: "short",
// 				radius: 5000,
// 				policy: 4,
// 				//poitype: "010101",
// 				roadlevel: 1,
// 				homeorcorp: 1,
// 				page_index: 1,
// 				page_size: 1,
// 			}
// 	}
// })

// location2address({
// 	location: "39.908815,116.397507",
// 	get_poi: 1,
// 	poi_options: {
// 		address_format: "short",
// 		radius: 5000,
// 		policy: 4,
// 		//poitype: "010101",
// 		roadlevel: 1,
// 		homeorcorp: 1
// 	}
// });

address2location({
	address: "北京市海淀区彩和坊路海淀西大街74号",
	city: "北京"
});

// translate({
// 	locations: [
// 		{ lat: 39.908815, lng: 116.397507 },
// 		{ lat: 39.908815, lng: 116.397107 }
// 	],
// 	type: 3
// });

// ip定位
// ip2location({
// 	ip: "111.206.145.41"
// });

// 输入提示
// inputtips({
// 	keyword: "人民医院",
// 	city: "北京市",
// 	datatype: "all",
// 	get_subpois: 1
// });

// 周边搜索
// search({
// 	keyword: "酒店",
// 	location: {
// 		lat: 39.908815,
// 		lng: 116.397507
// 	},
// 	radius: 1000,
// 	auto_extend: 1,
// 	get_subpois: 1,
// 	orderby: "weight",
// 	page_index: 1,
// 	page_size: 20,
// 	city: "北京市"
// });

// 行政区划
// districtSearch({
// 	adcode: "110000",
// 	get_polygon: 2,
// 	max_offset: 500,
// 	subdistrict: 2
// });

// 导航 - 驾车
// route({
// 	mode: "driving",
// 	from: "39.808815,116.387507",
// 	to: "39.908815,116.397507",
// 	get_mp: 1,
// });

// 导航 - 步行
// route({
// 	mode: "walking",
// 	from: "40.034852,116.319820",
// 	to: "39.771075,116.351395",
// 	alternative_route: 3
// });

// 导航 - 骑行
// route({
// 	mode: "bicycling",
// 	from: "40.034852,116.319820",
// 	to: "39.771075,116.351395",
// 	alternative_route: 3
// });

// 导航 - 电动车
// route({
// 	mode: "ebicycling",
// 	from: "40.034852,116.319820",
// 	to: "39.771075,116.351395",
// 	alternative_route: 3
// });

// 导航 - 公交
// route({
// 	mode: "transit",
// 	from: "40.034852,116.319820",
// 	to: "29.771075,116.351395",
// 	//alternative_route: 3,
// 	city1: "010",
// 	city2: "0792",
// });