submit
This commit is contained in:
parent
550fbb6659
commit
b89eca1fe6
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
|
@ -49,13 +49,13 @@ onMounted(() => {
|
||||||
|
|
||||||
featureLayerG_area = L.layerGroup().addTo(homeMap)
|
featureLayerG_area = L.layerGroup().addTo(homeMap)
|
||||||
featureLayerG_point = L.layerGroup().addTo(homeMap)
|
featureLayerG_point = L.layerGroup().addTo(homeMap)
|
||||||
'http://t0.tianditu.com/img_c/wmts?layer=img&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}&tk='
|
// 'http://t0.tianditu.com/img_c/wmts?layer=img&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}&tk='
|
||||||
const CIA_C = "http://t0.tianditu.com/cia_c/wmts?layer=cia&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}&tk=";
|
// const CIA_C = "http://t0.tianditu.com/cia_c/wmts?layer=cia&style=default&tilematrixset=c&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}&tk=";
|
||||||
const nameLayer = L.tileLayer(CIA_C + TK_KEY, {
|
// const nameLayer = L.tileLayer(CIA_C + TK_KEY, {
|
||||||
maxZoom: 20,
|
// maxZoom: 20,
|
||||||
tileSize: 256,
|
// tileSize: 256,
|
||||||
zoomOffset: 1
|
// zoomOffset: 1
|
||||||
}).addTo(homeMap);
|
// }).addTo(homeMap);
|
||||||
|
|
||||||
// 创建Geocoding控件
|
// 创建Geocoding控件
|
||||||
const geocoder = L.Control.geocoder({
|
const geocoder = L.Control.geocoder({
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
|
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="3" style="text-align:center ;">
|
<el-col :span="3" style="text-align:center ;">
|
||||||
<el-image style="height:40px ; width:100px!" src="/bing.webp"></el-image>
|
<el-image style="height:40px ; width:100px!" src="/twitter.png"></el-image>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item label="Confirm keywords" style="text-align:center ;">
|
<el-form-item label="Confirm keywords" style="text-align:center ;">
|
||||||
|
|
|
@ -88,7 +88,7 @@ const save = async () => {
|
||||||
allocation:"YES"
|
allocation:"YES"
|
||||||
};
|
};
|
||||||
let res = await submit(params).then(da=>{
|
let res = await submit(params).then(da=>{
|
||||||
ElMessage.success('Save success');
|
ElMessage.success('success');
|
||||||
});
|
});
|
||||||
emit('callback');
|
emit('callback');
|
||||||
closeDialog();
|
closeDialog();
|
||||||
|
|
Loading…
Reference in New Issue