|
|
@@ -2,7 +2,6 @@ import { get, post, delete0 } from '@/utils/request'
|
|
|
|
|
|
const mapAPI = {
|
|
|
center: '/api/data/map/center',
|
|
|
- itemTypes: '/api/data/map/types',
|
|
|
markers: '/api/data/map/markers',
|
|
|
markerInfoApi: '/api/data/map/marker',
|
|
|
location: '/api/data/map/location'
|
|
|
@@ -12,10 +11,6 @@ export function getMapCenter() {
|
|
|
return get(mapAPI.center)
|
|
|
}
|
|
|
|
|
|
-export function getItemTypes() {
|
|
|
- return get(mapAPI.itemTypes)
|
|
|
-}
|
|
|
-
|
|
|
export function getMarkerInfo(id) {
|
|
|
return get(mapAPI.markerInfoApi + '?id=' + id)
|
|
|
}
|