上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 81 下一页
摘要: 1 function getImageWithText(canvas, text) { 2 3 const context = canvas.getContext("2d"); 4 5 // add the screenshot data to the canvas 6 7 // let rawDa 阅读全文
posted @ 2020-08-04 13:40 googlegis 阅读(2303) 评论(0) 推荐(0)
摘要: 1 //泵机带图 2 function getBjData(jsonData){ 3 4 let colorTypes = { 5 "运行":{ 6 color:"#52c736" 7 }, 8 "报警":{ 9 color:"#ec2c12" 10 }, 11 "停止":{ 12 color:"# 阅读全文
posted @ 2020-08-04 11:27 googlegis 阅读(387) 评论(0) 推荐(0)
摘要: 1 $.getJSON(pngPath + "data/bengfang.json", function (jsonData) { 2 3 let bjJson = jsonData["泵机带图"]; 4 5 let myChart = echarts.init(document.getElemen 阅读全文
posted @ 2020-08-04 11:23 googlegis 阅读(408) 评论(0) 推荐(0)
摘要: 1 let par1 = {}; 2 par1.id = sid; 3 let data1 = JSON.stringify(par1); 4 5 $.ajax({ 6 method: 'POST', 7 url: '../oneMap/GetDeviceStatus', 8 contentType 阅读全文
posted @ 2020-08-04 11:22 googlegis 阅读(559) 评论(0) 推荐(0)
摘要: 无法将数值写入键 /SOFTWARE/classes/ 请确认你是否有权访问该键, 首先退出所有的杀毒软件和保护软件,关闭防火墙。 尤其是360套装、腾讯管家系列、百度杀毒全家桶。 阅读全文
posted @ 2020-08-04 11:19 googlegis 阅读(1869) 评论(0) 推荐(0)
摘要: layerControl = L.control.layers(baseLayers, overLayer,{ collapsed: true}); layerControl.addTo(map); layerControl._container.remove();document.getEleme 阅读全文
posted @ 2020-07-16 17:07 googlegis 阅读(1227) 评论(0) 推荐(0)
摘要: 1 let url = "https://xxx.arcgis.com/arcgis/rest/services/line_0706_3857/FeatureServer/0"; //此处为地址样式,不是完整的地址,请填写服务的完整地址。 2 3 var LineLayer = esri.featu 阅读全文
posted @ 2020-07-14 16:08 googlegis 阅读(1772) 评论(0) 推荐(0)
摘要: 1 let linepopup; 2 3 LineLayer.on('mouseover', function (e) { 4 5 let loc = e.layer.feature.geometry.coordinates; 6 let tooltip = e.layer.feature.prop 阅读全文
posted @ 2020-07-13 09:05 googlegis 阅读(913) 评论(0) 推荐(0)
摘要: map.on('zoomend ', function (e) { let zoom = map.getZoom(); if (zoom > 10) { map.addLayer(LineLayer); } else if (zoom <= 10) { map.removeLayer(LineLay 阅读全文
posted @ 2020-07-13 08:47 googlegis 阅读(3764) 评论(0) 推荐(0)
摘要: var labels = {}; earthquakes.on('createfeature', function (e) { var id = e.feature.id; var feature = earthquakes.getFeature(id); var center = feature. 阅读全文
posted @ 2020-07-13 08:37 googlegis 阅读(585) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 81 下一页

坐标合肥,非典型GIS开发人员 GitHub