|
@ -33,30 +33,30 @@ export const eventMap = { |
|
|
// status: "0",
|
|
|
// status: "0",
|
|
|
// };
|
|
|
// };
|
|
|
|
|
|
|
|
|
// const data = await getDeviceList(1);
|
|
|
const data = await getDeviceList(1); |
|
|
const data = [ |
|
|
// const data = [
|
|
|
{ |
|
|
// {
|
|
|
longitude: 116.268564, |
|
|
// longitude: 116.268564,
|
|
|
latitude: 35.73115, |
|
|
// latitude: 35.73115,
|
|
|
otherConfig: '{"ptzCtrl":0}', |
|
|
// otherConfig: '{"ptzCtrl":0}',
|
|
|
}, |
|
|
// },
|
|
|
{ |
|
|
// {
|
|
|
longitude: 116.258178, |
|
|
// longitude: 116.258178,
|
|
|
latitude: 35.720996, |
|
|
// latitude: 35.720996,
|
|
|
}, |
|
|
// },
|
|
|
{ |
|
|
// {
|
|
|
longitude: 116.255542, |
|
|
// longitude: 116.255542,
|
|
|
latitude: 35.717335, |
|
|
// latitude: 35.717335,
|
|
|
}, |
|
|
// },
|
|
|
{ |
|
|
// {
|
|
|
longitude: 116.252883, |
|
|
// longitude: 116.252883,
|
|
|
latitude: 35.713114, |
|
|
// latitude: 35.713114,
|
|
|
}, |
|
|
// },
|
|
|
{ |
|
|
// {
|
|
|
longitude: 116.249416, |
|
|
// longitude: 116.249416,
|
|
|
latitude: 35.707627, |
|
|
// latitude: 35.707627,
|
|
|
}, |
|
|
// },
|
|
|
]; |
|
|
// ];
|
|
|
|
|
|
|
|
|
if (!data) return; |
|
|
if (!data) return; |
|
|
|
|
|
|
|
|