Commit b957ac42 authored by 皮倩雯's avatar 皮倩雯

fix: '底图配置添加新的底图配置 mapbox-i-ia mapbox影像'

parent 7907de55
Pipeline #55516 passed with stages
...@@ -91,9 +91,9 @@ ...@@ -91,9 +91,9 @@
"@babel/runtime": "^7.10.5", "@babel/runtime": "^7.10.5",
"@esri/calcite-colors": "6.0.3", "@esri/calcite-colors": "6.0.3",
"@wisdom-cesium/cesium": "^1.0.78", "@wisdom-cesium/cesium": "^1.0.78",
"@wisdom-map/amap": "1.1.0-beta.34", "@wisdom-map/amap": "1.1.0-beta.35",
"@wisdom-map/arcgismap": "1.4.0-13", "@wisdom-map/arcgismap": "1.4.0-14",
"@wisdom-map/basemap": "1.1.0-2", "@wisdom-map/basemap": "1.1.0-3",
"ace-builds": "^1.4.12", "ace-builds": "^1.4.12",
"antd-img-crop": "^3.13.2", "antd-img-crop": "^3.13.2",
"bizcharts": "^4.0.15", "bizcharts": "^4.0.15",
......
...@@ -337,6 +337,8 @@ const AddModal = props => { ...@@ -337,6 +337,8 @@ const AddModal = props => {
return 'GeoQ水墨灰'; return 'GeoQ水墨灰';
case 'streetWarm': case 'streetWarm':
return 'GeoQ暖色'; return 'GeoQ暖色';
case 'mapbox-i-ia':
return 'mapbox影像';
// case 'google-user': // case 'google-user':
// return; // return;
// case 'pipenet-tile': // case 'pipenet-tile':
...@@ -528,6 +530,7 @@ const AddModal = props => { ...@@ -528,6 +530,7 @@ const AddModal = props => {
<Option value="streetPurplishBlue">GeoQ午夜蓝(streetPurplishBlue)</Option> <Option value="streetPurplishBlue">GeoQ午夜蓝(streetPurplishBlue)</Option>
<Option value="streetGray">GeoQ水墨灰(streetGray)</Option> <Option value="streetGray">GeoQ水墨灰(streetGray)</Option>
<Option value="streetWarm">GeoQ暖色(streetWarm)</Option> <Option value="streetWarm">GeoQ暖色(streetWarm)</Option>
<Option value="mapbox-i-ia">mapbox影像(mapbox-i-ia)</Option>
</Select> </Select>
</Item> </Item>
<Item <Item
......
...@@ -487,6 +487,7 @@ const NewEditModal = props => { ...@@ -487,6 +487,7 @@ const NewEditModal = props => {
<Option value="streetPurplishBlue">GeoQ午夜蓝(streetPurplishBlue)</Option> <Option value="streetPurplishBlue">GeoQ午夜蓝(streetPurplishBlue)</Option>
<Option value="streetGray">GeoQ水墨灰(streetGray)</Option> <Option value="streetGray">GeoQ水墨灰(streetGray)</Option>
<Option value="streetWarm">GeoQ暖色(streetWarm)</Option> <Option value="streetWarm">GeoQ暖色(streetWarm)</Option>
<Option value="mapbox-i-ia">mapbox影像(mapbox-i-ia)</Option>
</Select> </Select>
</Item> </Item>
<Item <Item
......
/* eslint-disable indent */ /* eslint-disable indent */
import { Space, Table, Button, Popconfirm, notification, Spin, Divider, Tooltip } from 'antd'; import {
Space,
Table,
Button,
Popconfirm,
notification,
Spin,
Divider,
Tooltip,
Empty,
} from 'antd';
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { PlusOutlined, UserAddOutlined } from '@ant-design/icons'; import { PlusOutlined, UserAddOutlined } from '@ant-design/icons';
import AutoResponsive from 'autoresponsive-react'; import AutoResponsive from 'autoresponsive-react';
...@@ -269,21 +279,23 @@ const TileData = props => { ...@@ -269,21 +279,23 @@ const TileData = props => {
gridWidth="100" gridWidth="100"
transitionDuration=".5" transitionDuration=".5"
> */} > */}
{cardData && cardData.length {cardData && cardData.length ? (
? cardData.map((item, index) => { cardData.map((item, index) => {
return ( return (
<div <div
className={styles.cardItem} className={styles.cardItem}
key={index} key={index}
span={5} span={5}
offset={2} offset={2}
style={{ marginBottom: '1rem' }} style={{ marginBottom: '1rem' }}
> >
<Cards item={item} deletebaseMaps={onDeletebaseMap} cardData={cardData} /> <Cards item={item} deletebaseMaps={onDeletebaseMap} cardData={cardData} />
</div> </div>
); );
}) })
: ''} ) : (
<Empty image={Empty.PRESENTED_IMAGE_SIMPLE} style={{ margin: 'auto' }} />
)}
{/* </AutoResponsive> */} {/* </AutoResponsive> */}
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment