|
@@ -61,38 +61,38 @@
|
|
// center: [38.44673272215545, 106.27624511718751], // 地图中心--银川
|
|
// center: [38.44673272215545, 106.27624511718751], // 地图中心--银川
|
|
// center: [108.953939, 34.266611], // 地图中心--陕西
|
|
// center: [108.953939, 34.266611], // 地图中心--陕西
|
|
// center: [109.470962, 34.520632], // 地图中心--渭南
|
|
// center: [109.470962, 34.520632], // 地图中心--渭南
|
|
- zoom: 16, //缩放比列
|
|
|
|
|
|
+ zoom: 18, //缩放比列
|
|
zoomControl: false, //禁用 + - 按钮
|
|
zoomControl: false, //禁用 + - 按钮
|
|
doubleClickZoom: true, // 禁用双击放大
|
|
doubleClickZoom: true, // 禁用双击放大
|
|
attributionControl: false, // 移除右下角leaflet标识
|
|
attributionControl: false, // 移除右下角leaflet标识
|
|
preferCanvas: true,
|
|
preferCanvas: true,
|
|
contextmenu: true,
|
|
contextmenu: true,
|
|
contextmenuWidth: 140,
|
|
contextmenuWidth: 140,
|
|
- contextmenuItems: [{
|
|
|
|
- text: "功率曲线拟合分析",
|
|
|
|
- callback: this.powerLine,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- text: "对风偏差分析",
|
|
|
|
- callback: this.windAny,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- text: "曲线偏差率分析",
|
|
|
|
- callback: this.qxAny,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- text: "温度与功率分析",
|
|
|
|
- callback: this.wdyglAny,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- text: "损失电量分析",
|
|
|
|
- callback: this.ssdlAny,
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- text: "桨距角分析",
|
|
|
|
- callback: this.jjjAny,
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
|
|
+ // contextmenuItems: [{
|
|
|
|
+ // text: "功率曲线拟合分析",
|
|
|
|
+ // callback: this.powerLine,
|
|
|
|
+ // },
|
|
|
|
+ // {
|
|
|
|
+ // text: "对风偏差分析",
|
|
|
|
+ // callback: this.windAny,
|
|
|
|
+ // },
|
|
|
|
+ // {
|
|
|
|
+ // text: "曲线偏差率分析",
|
|
|
|
+ // callback: this.qxAny,
|
|
|
|
+ // },
|
|
|
|
+ // {
|
|
|
|
+ // text: "温度与功率分析",
|
|
|
|
+ // callback: this.wdyglAny,
|
|
|
|
+ // },
|
|
|
|
+ // {
|
|
|
|
+ // text: "损失电量分析",
|
|
|
|
+ // callback: this.ssdlAny,
|
|
|
|
+ // },
|
|
|
|
+ // {
|
|
|
|
+ // text: "桨距角分析",
|
|
|
|
+ // callback: this.jjjAny,
|
|
|
|
+ // },
|
|
|
|
+ // ],
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
@@ -102,7 +102,7 @@
|
|
|
|
|
|
let name = L.tileLayer(this.tilsUrl, {
|
|
let name = L.tileLayer(this.tilsUrl, {
|
|
minZoom: 1,
|
|
minZoom: 1,
|
|
- maxZoom: 16,
|
|
|
|
|
|
+ maxZoom: 18,
|
|
}).addTo(this.map);
|
|
}).addTo(this.map);
|
|
|
|
|
|
// this.setAreaLayer("db", true);
|
|
// this.setAreaLayer("db", true);
|