/* * @Author: GuLiMmo 2820890765@qq.com * @Date: 2024-08-09 13:56:35 * @LastEditors: GuLiMmo 2820890765@qq.com * @LastEditTime: 2024-08-14 11:02:44 * @FilePath: /bigScreen/src/api/map/dji.js * @Description: * Copyright (c) 2024 by GuLiMmo, All Rights Reserved. */ import request from '@/axios' /** * @description: 获取限制飞行区域 * @param {*} params :{ * ltlat:string = 28.455371613476352 * ltlng:string = 115.2951041025807 * rblat:string = 29.356272514377252 * rblng:string = 116.19600500348159 * level:string = 0,1,2,3 * } * @return {*} Promise */ export const getIimitationArea = (params) => { return request({ url: `/dji_in_rectangle/api/geo/v3/areas/in_rectangle`, method: 'get', params: { ...params, level_type: 0, zones_mode: 'total', signature: '', drone: 'mavic-mini', }, isBase: false }) }