Compare commits

...

3 Commits

Author SHA1 Message Date
姚宇浩 75a76790b8 Merge branch 'main' of https://git.cityme.com.cn/xiangshan/ggfwjsc 2024-09-30 16:18:33 +08:00
姚宇浩 33c9ca274f 1 2024-09-30 16:18:16 +08:00
姚宇浩 0123f10d82 ceshi 2024-09-30 15:51:35 +08:00
2 changed files with 14 additions and 0 deletions

View File

@ -20,6 +20,7 @@ const initMap = () => {
let type = tools.data.get("type");
if (type == 1) {
} else {
map.setMapStyleV2({
styleId: "d0acde891abd157741b71e12670ee2e6",

View File

@ -1074,12 +1074,24 @@ const pagination = reactive({
});
//------------------------------------------------
//
var styleJson = [
{ featureType: "label", elementType: "all", stylers: { visibility: "off" } },
{
featureType: "boundary",
elementType: "all",
stylers: { visibility: "off" },
},
{ featureType: "road", elementType: "all", stylers: { visibility: "off" } },
{ featureType: "water", elementType: "all", stylers: { visibility: "off" } },
{ featureType: "land", elementType: "all", stylers: { visibility: "off" } },
];
const totalType = ref(2);
const initMap = () => {
map = new BMapGL.Map("map", { minZoom: 8, maxZoom: 20 });
let type = tools.data.get("type");
if (type == 1) {
totalType.value = 1;
map.setMapStyleV2({ styleJson: styleJson });
} else {
totalType.value = 2;
map.setMapType(BMAP_SATELLITE_MAP);
@ -4947,6 +4959,7 @@ onMounted(async () => {
}
}
}
//
.btns {
z-index: 999;
position: absolute;