.
This commit is contained in:
parent
2a6ec27def
commit
7882ce6558
@ -1,13 +1,9 @@
|
||||
VITE_ENV = 'development'
|
||||
|
||||
# dev prod stage
|
||||
#VITE_APP_BASE_API = '/dev-api'
|
||||
#VITE_APP_BASE_IP = 'localhost'
|
||||
#VITE_APP_BASE_PORT = 3006
|
||||
|
||||
VITE_APP_BASE_API = '/stage-api'
|
||||
VITE_APP_BASE_IP = '39.105.121.219'
|
||||
VITE_APP_BASE_PORT = 80
|
||||
VITE_APP_BASE_API = '/dev-api'
|
||||
VITE_APP_BASE_IP = 'localhost'
|
||||
VITE_APP_BASE_PORT = 3006
|
||||
|
||||
# Mqtt
|
||||
VITE_BASE_MQTT = '39.105.121.219:8083/mqtt'
|
||||
|
@ -802,8 +802,17 @@
|
||||
doubleClickZoom: false, //图是否可以通过双击来放大
|
||||
dragging: true, //地图是否可以通过 mouse/touch 进行拖动。
|
||||
attributionControl: false, //是否将 attribution 版权控件添加到地图中。
|
||||
tap: true // 确保此选项为 true 或者不指定,因为默认值是 true
|
||||
tap: true, // 确保此选项为 true 或者不指定,因为默认值是 true
|
||||
});
|
||||
// // 创建一个新的归因控件实例
|
||||
// var attribution = L.control.attribution({
|
||||
// position: 'bottomleft', // 设置位置,可选值有 'topleft', 'topright', 'bottomleft', 'bottomright'
|
||||
// });
|
||||
// // 添加多个归因文本
|
||||
// attribution.addAttribution('天地图');
|
||||
// // attribution.addAttribution('GS(2024)0568号 - 甲测资字1100471');
|
||||
// // 将归因控件添加到地图
|
||||
// attribution.addTo(map);
|
||||
|
||||
// 如果需要监听缩放过程中的变化,可以使用 'zoom' 事件
|
||||
map.on('zoom', function() {
|
||||
@ -1119,10 +1128,15 @@
|
||||
z-index: 0;
|
||||
|
||||
/* 地图放大缩小 */
|
||||
::v-deep .leaflet-control-container {
|
||||
position: absolute !important;
|
||||
right: 55px !important;
|
||||
top: 20% !important;
|
||||
// ::v-deep .leaflet-control-container {
|
||||
// position: absolute !important;
|
||||
// right: 55px !important;
|
||||
// top: 20% !important;
|
||||
// }
|
||||
::v-deep .leaflet-control-attribution{
|
||||
a{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/* 文字 */
|
||||
|
Loading…
Reference in New Issue
Block a user