| | |
| | | "selectionIndicator": false, |
| | | "defaultContextMenu": true, |
| | | "mouseDownView": true, |
| | | "compass": { "bottom": "270px", "right": "5px" }, |
| | | "distanceLegend": { "left": "150px", "bottom": "2px" }, |
| | | "locationBar": { |
| | | "fps": false, |
| | |
| | | "zIndex": 0 |
| | | } |
| | | ], |
| | | "layers": [ |
| | | { "id": 50, "name": "辅助图层", "type": "group" }, |
| | | { |
| | | "pid": 50, |
| | | "name": "行政区划界线", |
| | | "type": "xyz", |
| | | "url": "https://t{s}.tianditu.gov.cn/DataServer?T=ibo_w&x={x}&y={y}&l={z}&tk=51915011aa0997aa2ddd7e38504fa8bc", |
| | | "subdomains": "01234567", |
| | | "maximumLevel": 10, |
| | | "mapSplit": false, |
| | | "show": true |
| | | }, |
| | | { |
| | | "pid": 50, |
| | | "name": "高德实时路况", |
| | | "type": "gaode", |
| | | "layer": "time", |
| | | "minimumTerrainLevel": 4, |
| | | "minimumLevel": 4, |
| | | "proxy": "//server.mars3d.cn/proxy/", |
| | | "mapSplit": false |
| | | }, |
| | | "layers": [ |
| | | { "id": 99, "name": "数据图层", "type": "group" }, |
| | | { "id": 1006, "pid": 99, "name": "监测区域", "type": "group" } |
| | | ] |
| | |
| | | ], |
| | | "widgets": [ |
| | | { |
| | | "name": "监控总览", |
| | | "uri": "widgetsTS/widget_summary/widget.js" |
| | | }, |
| | | { |
| | | "name": "分类查询", |
| | | "uri": "widgetsTS/widget_search/widget.js" |
| | | }, |
| | | { |
| | | "name": "监控详情", |
| | | "uri": "widgetsTS/widget_detail/widget.js" |
| | | }, |
| | | { |
| | | "name": "模板-iframe弹窗", |
| | | "uri": "widgets/_example/widget.js", |
| | | "windowOptions": { |
| | | "width": 300, |
| | | "height": 400, |
| | | "position": { |
| | | "bottom": 10, |
| | | "right": 10 |
| | | }, |
| | | "maxmin": true, |
| | | "resize": true |
| | | }, |
| | | "autoDisable": false, |
| | | "disableOther": false, |
| | | "openAtStart": false |
| | | }, |
| | | { |
| | | "name": "模板-div弹窗", |
| | | "uri": "widgets/_example_divwin/widget.js" |
| | | }, |
| | | { |
| | | "name": "模板-2个弹窗", |
| | | "uri": "widgets/_example_2win/widget.js" |
| | | }, |
| | | { |
| | | "name": "模板-append模板", |
| | | "uri": "widgets/_example_append/widget.js" |
| | | }, |
| | | |
| | | { |
| | | "name": "地图切换", |
| | | "uri": "widgets/manageBasemaps/widget.js", |
| | | "group": "forlayer", |
| | |
| | | "disableOther": false |
| | | }, |
| | | { |
| | | "name": "图层管理New", |
| | | "uri": "widgets/manageLayers_style/widget.js", |
| | | "group": "forlayer", |
| | | "autoCenter": true, |
| | | "windowOptions": { |
| | | "position": { |
| | | "top": 70, |
| | | "bottom": 30, |
| | | "right": 60 |
| | | } |
| | | }, |
| | | "css": { |
| | | "max-width": "300px" |
| | | }, |
| | | "autoDisable": false, |
| | | "disableOther": false |
| | | }, |
| | | { |
| | | "name": "剖面分析图表", |
| | | "uri": "widgets/measureChars/widget.js", |
| | | "windowOptions": { |
| | | "noTitle": true, |
| | | "maxmin": false, |
| | | "position": { |
| | | "bottom": 30, |
| | | "left": 30, |
| | | "right": 60 |
| | | } |
| | | }, |
| | | "disableOther": false |
| | | }, |
| | | { |
| | | "name": "视角书签", |
| | | "uri": "widgets/bookmark/widget.js", |
| | | "windowOptions": { |
| | | "position": { |
| | | "top": 50, |
| | | "bottom": 30, |
| | | "right": 10 |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "name": "漫游路线设置", |
| | | "uri": "widgets/roamLine/widget.js", |
| | | "windowOptions": { |
| | | "position": { |
| | | "top": 45, |
| | | "bottom": 30, |
| | | "right": 5 |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "name": "漫游路线", |
| | | "uri": "widgets/roamFly/widget.js", |
| | | "windowOptions": { |
| | | "position": { |
| | | "bottom": 60, |
| | | "right": 5 |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "name": "路线剖面", |
| | | "uri": "widgets/roamChars/widget.js", |
| | | "windowOptions": { |
| | | "noTitle": true, |
| | | "position": { |
| | | "top": 10, |
| | | "left": 10, |
| | | "right": 10 |
| | | } |
| | | }, |
| | | "disableOther": false |
| | | }, |
| | | { |
| | | "name": "卷帘对比", |
| | | "uri": "widgets/mapSplit/widget.js", |
| | | "group": "mapCompare", |
| | | "autoDisable": false, |
| | | "disableOther": false |
| | | }, |
| | | { |
| | | "name": "双屏对比", |
| | | "uri": "widgets/mapCompare/widget.js", |
| | | "autoDisable": false, |
| | | "disableOther": false, |
| | | "group": "mapCompare", |
| | | "windowOptions": { |
| | | "position": { |
| | | "top": 160, |
| | | "bottom": 40, |
| | | "left": 10 |
| | | }, |
| | | "maxmin": true |
| | | } |
| | | }, |
| | | { |
| | | "name": "百度街景", |
| | | "uri": "widgets/streetscape/widget.js", |
| | | "autoDisable": false, |
| | | "disableOther": false, |
| | | "group": "mapCompare", |
| | | "windowOptions": { |
| | | "position": { |
| | | "top": 160, |
| | | "bottom": 40, |
| | | "left": 10 |
| | | }, |
| | | "maxmin": true |
| | | } |
| | | }, |
| | | { |
| | | "name": "标绘", |
| | | "uri": "widgets/plot/widget.js", |
| | | "windowOptions": { |
| | | "position": { |
| | | "top": 45, |
| | | "bottom": 30, |
| | | "right": 5 |
| | | } |
| | | }, |
| | | "openAtStart": false |
| | | }, |
| | | { |
| | | "name": "模型库", |
| | | "uri": "widgets/plot-model/widget.js", |
| | | "windowOptions": { |
| | |
| | | } |
| | | }, |
| | | { |
| | | "name": "分组名称编辑", |
| | | "uri": "widgets/plotGroupName/widget.js", |
| | | "windowOptions": { |
| | | "position": "t" |
| | | }, |
| | | "disableOther": false |
| | | }, |
| | | { |
| | | "name": "属性编辑", |
| | | "uri": "widgets/plotAttr/widget.js", |
| | | "windowOptions": { |
| | | "position": { |
| | | "top": 60, |
| | | "bottom": 30, |
| | | "left": 10 |
| | | } |
| | | }, |
| | | "disableOther": false |
| | | }, |
| | | { |
| | | "name": "路线导航", |
| | | "uri": "widgets/queryRoute/widget.js", |
| | | "windowOptions": { |
| | | "position": { |
| | | "top": 45, |
| | | "bottom": 30, |
| | | "right": 5 |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "name": "轨迹回放", |
| | | "group":"router", |
| | | "uri": "widgetsTS/taxiRouteReplay/widget.js", |
| | | "windowOptions": { |
| | | "position": { |
| | | "top": 45, |
| | | "bottom": 30, |
| | | "right": 5 |
| | | } |
| | | }, |
| | | "autoDisable":false |
| | | }, |
| | | { |
| | | "name": "轨迹回放", |
| | | "group":"router", |
| | | "uri": "widgetsTS/taxiRouteReplay2/widget.js", |
| | | "windowOptions": { |
| | | "position": { |
| | | "top": 45, |
| | | "bottom": 30, |
| | | "left": 5 |
| | | } |
| | | }, |
| | | "autoDisable":false |
| | | }, |
| | | { |
| | | "name": "打印", |
| | | "uri": "widgets/print/widget.js", |
| | | "autoDisable": false, |
| | | "disableOther": false |
| | | }, |
| | | { |
| | | "name": "风场参数", |
| | | "uri": "widgetsTS/windsetting/widget.js", |
| | | "autoDisable":false, |
| | | "windowOptions": { |
| | | "position": { |
| | | "top": 185, |
| | | "left": 5 |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "name": "监控网格", |
| | | "uri": "widgetsTS/widget_grid/widget.js", |
| | | "autoDisable":false, |
| | | "windowOptions": { |
| | | "position": { |
| | | "top": 185, |
| | | "left": 5 |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "name": "地图图例", |
| | | "uri": "widgetsTS/tuglie/widget.js", |
| | | "autoDisable":false |
| | | |
| | | } |
| | | |
| | | ] |
| | | } |
| | |
| | | display: flex; |
| | | padding: 10px; |
| | | background: #304b80; |
| | | border-bottom: 1px solid #476399; |
| | | justify-content: center; |
| | | align-items: center; |
| | | box-shadow: 0 1px 4px rgba(12, 35, 87, .3); |
| | |
| | | } |
| | | } |
| | | var content = "<tr _siteid='" + topObj.code + "' _lon='" + topObj.lon + "' _lat='" + topObj.lat |
| | | + "' onmouseover='over(this)' onmouseout='out(this)' ><td>" + j + "</td><td onclick='locateAndShowDetail(this)'>" |
| | | + topObj.region + "</td><td onclick='locateAndShowDetail(this)'>" |
| | | + "'><td>" + j + "</td><td >" |
| | | + topObj.region + "</td><td >" |
| | | + topObj.name + "</td>" |
| | | + "<td><font color='" |
| | | + getLayerPointColorByQindexandValue(current_selected_monitor_type, current_selected_monitor_qindex, topObj[current_selected_monitor_qindex]) |
| | |
| | | .layui-input{ |
| | | display: none; |
| | | } |
| | | .append_test{ |
| | | background: #304B80; |
| | | border-bottom: 1px solid #476399; |
| | | } |
| | | .form-control, |
| | | .input-group-addon{ |
| | | background: transparent; |
| | | border: none; |
| | | color: #fff; |
| | | position: relative; |
| | | } |
| | | .input-group-addon::after{ |
| | | position: absolute; |
| | | content: " "; |
| | | width: 1px; |
| | | top: 12px; |
| | | bottom: 12px; |
| | | right: 0; |
| | | background: #476399; |
| | | } |
| | | </style> |
| | | </head> |
| | | |