1234567891011121314 |
- import mapR from '@/utils/mapRequest'
- const amap = {
- //将结构化地址转为经纬度
- getLngLat(param){
- return mapR.get(`v3/geocode/geo?address=${param}`);
- },
- getAroundPOI(redius,location,types){
- return mapR.get(`v5/place/around?redius=${redius}&location=${location}&types=${types}`);
- }
- }
- export default amap
|