This commit is contained in:
yyhouc 2023-05-22 10:20:35 +08:00
parent 550fbb6659
commit b89eca1fe6
4 changed files with 9 additions and 9 deletions

BIN
public/twitter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -49,13 +49,13 @@ onMounted(() => {
featureLayerG_area = 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='
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, {
maxZoom: 20,
tileSize: 256,
zoomOffset: 1
}).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='
// 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, {
// maxZoom: 20,
// tileSize: 256,
// zoomOffset: 1
// }).addTo(homeMap);
// Geocoding
const geocoder = L.Control.geocoder({

View File

@ -94,7 +94,7 @@
<el-row>
<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 :span="6">
<el-form-item label="Confirm keywords" style="text-align:center ;">

View File

@ -88,7 +88,7 @@ const save = async () => {
allocation:"YES"
};
let res = await submit(params).then(da=>{
ElMessage.success('Save success');
ElMessage.success('success');
});
emit('callback');
closeDialog();