|
@@ -0,0 +1,2726 @@
|
|
|
+<template>
|
|
|
+ <div style="height: 100%;">
|
|
|
+ <!--顶部-->
|
|
|
+ <header class="header">
|
|
|
+ <div class="left nav">
|
|
|
+ <ul>
|
|
|
+ <li class="nav_active"><i class="nav_3"></i><router-link to="/bigScreen">当前态势</router-link></li>
|
|
|
+ <!-- <li @click="warnHandle"><i class="nav_2"></i><a href="javascritp:;">航线规划</a></li> -->
|
|
|
+ <li><i class="nav_1"></i><router-link to="/admin/index">数据管理</router-link></li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <div class="header_center">
|
|
|
+ <h2><strong>无人机低空监管平台</strong></h2>
|
|
|
+ <p class="color_font"><small>Drone Low Altitude Supervision Platform</small></p>
|
|
|
+ </div>
|
|
|
+ <div class="nav text_right">
|
|
|
+ <ul>
|
|
|
+ <li><i class="nav_7"></i><router-link to="/planManage/index">飞行计划管理</router-link></li>
|
|
|
+ <li><i class="nav_8"></i><router-link to="/userManage/personal">用户管理</router-link></li>
|
|
|
+ <li><i class="nav_4"></i><router-link to="/filingsManage/plant">备案管理</router-link></li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <!--<nav class="left nav">-->
|
|
|
+ <!--<ul>-->
|
|
|
+ <!--<li class="nav_active"><i class="nav_1"></i><a href="index.html">数据概览</a> </li>-->
|
|
|
+ <!--<li><i class="nav_2"></i><a href="carContrl.html">车辆监控</a> </li>-->
|
|
|
+ <!--<li><i class="nav_3"></i><a href="map.html">地图界面</a> </li>-->
|
|
|
+ <!--<li><i class="nav_4"></i><a href="javascript:void(0)">表格界面</a><ul class="li_ul">-->
|
|
|
+ <!--<li><a href="table1.html">表格一</a> </li>-->
|
|
|
+ <!--<li><a href="table2.html">表格二</a> </li>-->
|
|
|
+
|
|
|
+ <!--</ul> </li>-->
|
|
|
+ <!--<!–<li><i class="nav_5"></i><a href="#">车载视频</a> </li>–>-->
|
|
|
+ <!--<!–<li><i class="nav_6"></i><a href="#">视频监控</a> </li>–>-->
|
|
|
+ <!--<li><i class="nav_7"></i><a href="static.html">查询统计</a> </li>-->
|
|
|
+ <!--<li><i class="nav_8"></i><a href="message.html">信息录入</a> </li>-->
|
|
|
+ <!--</ul>-->
|
|
|
+ <!--</nav>-->
|
|
|
+ </header>
|
|
|
+ <!--内容部分-->
|
|
|
+ <div class="con left">
|
|
|
+ <!--选择时间-->
|
|
|
+ <div class="select_time">
|
|
|
+ <div class="static_top left"><i></i><span>实时总览</span></div>
|
|
|
+ </div>
|
|
|
+ <!--数据总概-->
|
|
|
+ <div class="con_div">
|
|
|
+ <div class="con_div_text left">
|
|
|
+ <div class="con_div_text01 left">
|
|
|
+ <img src="../../assets/bigScreen/info_1.png" class="left text01_img" />
|
|
|
+ <div class="left text01_div" @click="goPlan">
|
|
|
+ <p>今日飞行计划</p>
|
|
|
+ <p>12356</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="con_div_text01 right" @click="goPlan">
|
|
|
+ <img src="../../assets/bigScreen/info_2.png" class="left text01_img" />
|
|
|
+ <div class="left text01_div">
|
|
|
+ <p>已完成计划</p>
|
|
|
+ <p>12356</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="con_div_text left" @click="goTask">
|
|
|
+ <div class="con_div_text01 left">
|
|
|
+ <img src="../../assets/bigScreen/info_4.png" class="left text01_img" />
|
|
|
+ <div class="left text01_div">
|
|
|
+ <p>正在执行任务</p>
|
|
|
+ <p class="sky">38</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="con_div_text01 right" @click="goTask">
|
|
|
+ <img src="../../assets/bigScreen/info_5.png" class="left text01_img" />
|
|
|
+ <div class="left text01_div">
|
|
|
+ <p>待执行任务</p>
|
|
|
+ <p class="sky">102</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="con_div_text left">
|
|
|
+ <div class="con_div_text01 left">
|
|
|
+ <img src="../../assets/bigScreen/info_6.png" class="left text01_img" />
|
|
|
+ <div class="left text01_div">
|
|
|
+ <p>违规飞行</p>
|
|
|
+ <p class="org">67</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="con_div_text01 right">
|
|
|
+ <img src="../../assets/bigScreen/info_7.png" class="left text01_img" />
|
|
|
+ <div class="left text01_div">
|
|
|
+ <p>黑飞</p>
|
|
|
+ <p class="org">5</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!--统计分析图-->
|
|
|
+ <div class="div_any">
|
|
|
+ <div class="left div_any01" :style="{ left: oLeft }" @click="toggleSide(0)">
|
|
|
+ <div class="arrow_left" :class="{ close: showSideArr[0] }"></div>
|
|
|
+ <div class="div_any_child">
|
|
|
+ <div class="div_any_title"><img src="../../assets/bigScreen/title_1.png" />违规类型</div>
|
|
|
+ <p id="char1" class="p_chart"></p>
|
|
|
+ </div>
|
|
|
+ <div class="div_any_child">
|
|
|
+ <div class="div_any_title"><img src="../../assets/bigScreen/title_5.png" />违规趋势</div>
|
|
|
+ <!-- <p id="char4" class="p_chart"></p> -->
|
|
|
+ <p id="char3" class="p_chart"></p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- <div class="div_any02 left">
|
|
|
+ <div class="div_any_child div_height">
|
|
|
+ <div class="div_any_title any_title_width">
|
|
|
+ <img src="../../assets/bigScreen/title_3.png" />无人机飞行地图
|
|
|
+ </div>
|
|
|
+ <div id="map_div"></div>
|
|
|
+ </div>
|
|
|
+ </div> -->
|
|
|
+ <div class="right div_any01" :style="{ right: oRight }" @click="toggleSide(1)">
|
|
|
+ <div class="arrow_right" :class="{ close: !showSideArr[1] }"></div>
|
|
|
+ <div class="div_any_child">
|
|
|
+ <div class="div_any_title"><img src="../../assets/bigScreen/title_4.png" />违规分布</div>
|
|
|
+ <p id="char2" class="p_chart"></p>
|
|
|
+ <!-- <div class="table_p">
|
|
|
+ <table>
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>任务类型</th>
|
|
|
+ <th>无人机型号</th>
|
|
|
+ <th>飞行状态</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td>电力巡检</td>
|
|
|
+ <td>DJ-23304</td>
|
|
|
+ <td>正在飞行</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>违规飞行</td>
|
|
|
+ <td>DJ-23304</td>
|
|
|
+ <td>正在飞行</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>河道巡检</td>
|
|
|
+ <td>DJ-23304</td>
|
|
|
+ <td>正在飞行</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>环保执法</td>
|
|
|
+ <td>DJ-23304</td>
|
|
|
+ <td>正在飞行</td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div> -->
|
|
|
+ </div>
|
|
|
+ <div class="div_any_child">
|
|
|
+ <div class="div_any_title"><img src="../../assets/bigScreen/title_2.png" />在飞任务</div>
|
|
|
+ <!-- <p id="char4" class="p_chart"></p> -->
|
|
|
+ <div class="table_p" style="margin-top: 7%">
|
|
|
+ <table>
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>无人机型号</th>
|
|
|
+ <th>飞手</th>
|
|
|
+ <th>开始时间</th>
|
|
|
+ <th>飞行状态</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td>DJ-23054</td>
|
|
|
+ <td>超级飞手74</td>
|
|
|
+ <td>12-05 08:30</td>
|
|
|
+ <th>正常</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>DJ-23054</td>
|
|
|
+ <td>超级飞手74</td>
|
|
|
+ <td>12-05 08:30</td>
|
|
|
+ <th>正常</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>DJ-23054</td>
|
|
|
+ <td>超级飞手74</td>
|
|
|
+ <td>12-05 08:30</td>
|
|
|
+ <td>偏离空域</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>DJ-23054</td>
|
|
|
+ <td>超级飞手74</td>
|
|
|
+ <td>12-05 08:30</td>
|
|
|
+ <td>偏离空域</td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!--分析表格-->
|
|
|
+ <div class="div_table" :style="{ bottom: oBottom }" @click="toggleSide(2)">
|
|
|
+ <div class="arrow_bottom" :class="{ close_bottom: showSideArr[2] }"></div>
|
|
|
+ <div class="left div_table_box">
|
|
|
+ <div class="div_any_child">
|
|
|
+ <div class="div_any_title"><img src="../../assets/bigScreen/title_4.png" />实时告警信息</div>
|
|
|
+ <div class="table_p">
|
|
|
+ <table>
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th></th>
|
|
|
+ <th>无人机型号</th>
|
|
|
+ <th>飞手</th>
|
|
|
+ <th>空域顶高</th>
|
|
|
+ <th>空域底高</th>
|
|
|
+ <th>告警类型</th>
|
|
|
+ <th>状态</th>
|
|
|
+ <th>操作</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <span
|
|
|
+ style="
|
|
|
+ display: inline-block;
|
|
|
+ width: 20px;
|
|
|
+ line-height: 20px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #222222;
|
|
|
+ background: rgb(254, 140, 113);
|
|
|
+ "
|
|
|
+ >1</span
|
|
|
+ >
|
|
|
+ </td>
|
|
|
+ <td>DJ-23054</td>
|
|
|
+ <td>超级飞手74</td>
|
|
|
+ <td>258</td>
|
|
|
+ <td>27</td>
|
|
|
+ <th>正常</th>
|
|
|
+ <td>未处理</td>
|
|
|
+ <th><a @click.stop="dealHandle" href="javascript:;">去处理</a></th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <span
|
|
|
+ style="
|
|
|
+ display: inline-block;
|
|
|
+ width: 20px;
|
|
|
+ line-height: 20px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #ffffff;
|
|
|
+ background: red;
|
|
|
+ "
|
|
|
+ >2</span
|
|
|
+ >
|
|
|
+ </td>
|
|
|
+ <td>DJ-23054</td>
|
|
|
+ <td>超级飞手74</td>
|
|
|
+ <td>258</td>
|
|
|
+ <td>27</td>
|
|
|
+ <td>偏离空域</td>
|
|
|
+ <td>未处理</td>
|
|
|
+ <th><a @click.stop="dealHandle" href="javascript:;">去处理</a></th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <span
|
|
|
+ style="
|
|
|
+ display: inline-block;
|
|
|
+ width: 20px;
|
|
|
+ line-height: 20px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #ffffff;
|
|
|
+ background: red;
|
|
|
+ "
|
|
|
+ >3</span
|
|
|
+ >
|
|
|
+ </td>
|
|
|
+ <td>DJ-23054</td>
|
|
|
+ <td>超级飞手74</td>
|
|
|
+ <td>258</td>
|
|
|
+ <td>26</td>
|
|
|
+ <td>正常</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td></td>
|
|
|
+ <td>DJ-23054</td>
|
|
|
+ <td>超级飞手74</td>
|
|
|
+ <td>258</td>
|
|
|
+ <td>27</td>
|
|
|
+ <td>偏离高度</td>
|
|
|
+ <td>未处理</td>
|
|
|
+ <th><a @click.stop="dealHandle" href="javascript:;">去处理</a></th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td></td>
|
|
|
+ <td>DJ-23054</td>
|
|
|
+ <td>超级飞手74</td>
|
|
|
+ <td>258</td>
|
|
|
+ <td>27</td>
|
|
|
+ <td>进入禁区</td>
|
|
|
+ <td>未处理</td>
|
|
|
+ <th><a @click.stop="dealHandle" href="javascript:;">去处理</a></th>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- <div class="left div_table_box">
|
|
|
+ <div class="div_any_child">
|
|
|
+ <div class="div_any_title"><img src="../../assets/bigScreen/title_4.png" />飞手排行前5位</div>
|
|
|
+ <div class="table_p">
|
|
|
+ <table>
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>姓名</th>
|
|
|
+ <th>性别</th>
|
|
|
+ <th>执照编号</th>
|
|
|
+ <th>分类等级</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td>飞手5</td>
|
|
|
+ <td>男</td>
|
|
|
+ <td>CN-23345</td>
|
|
|
+ <td>二级</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>飞手5</td>
|
|
|
+ <td>男</td>
|
|
|
+ <td>CN-23345</td>
|
|
|
+ <td>二级</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>飞手5</td>
|
|
|
+ <td>男</td>
|
|
|
+ <td>CN-23345</td>
|
|
|
+ <td>二级</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>飞手5</td>
|
|
|
+ <td>男</td>
|
|
|
+ <td>CN-23345</td>
|
|
|
+ <td>二级</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>飞手5</td>
|
|
|
+ <td>男</td>
|
|
|
+ <td>CN-23345</td>
|
|
|
+ <td>二级</td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="left div_table_box">
|
|
|
+ <div class="div_any_child">
|
|
|
+ <div class="div_any_title"><img src="../../assets/bigScreen/title_4.png" />企业排行前5位</div>
|
|
|
+ <div class="table_p">
|
|
|
+ <table>
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>编号</th>
|
|
|
+ <th>企业名称</th>
|
|
|
+ <th>注册日期</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td>HN882</td>
|
|
|
+ <td>河豚公司923</td>
|
|
|
+ <td>2017-12-30</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>HN882</td>
|
|
|
+ <td>河豚公司923</td>
|
|
|
+ <td>2017-12-30</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>HN882</td>
|
|
|
+ <td>河豚公司923</td>
|
|
|
+ <td>2017-12-30</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>HN882</td>
|
|
|
+ <td>河豚公司923</td>
|
|
|
+ <td>2017-12-30</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>HN882</td>
|
|
|
+ <td>河豚公司923</td>
|
|
|
+ <td>2017-12-30</td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="left div_table_box">
|
|
|
+ <div class="div_any_child">
|
|
|
+ <div class="div_any_title"><img src="../../assets/bigScreen/title_4.png" />告警通知信息</div>
|
|
|
+ <div class="table_p">
|
|
|
+ <table>
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>计划编号</th>
|
|
|
+ <th>告警类型</th>
|
|
|
+ <th>时间</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td>WN20231022657</td>
|
|
|
+ <td>偏离空域</td>
|
|
|
+ <td>2023-09-16 18:23</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>WN20231022657</td>
|
|
|
+ <td>偏离空域</td>
|
|
|
+ <td>2023-09-16 18:23</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>WN20231022657</td>
|
|
|
+ <td>偏离空域</td>
|
|
|
+ <td>2023-09-16 18:23</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>WN20231022657</td>
|
|
|
+ <td>偏离空域</td>
|
|
|
+ <td>2023-09-16 18:23</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>WN20231022657</td>
|
|
|
+ <td>偏离空域</td>
|
|
|
+ <td>2023-09-16 18:23</td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div> -->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div id="map_bg"></div>
|
|
|
+ <t-dialog :visible.sync="visible">
|
|
|
+ <div class="table_p" style="height: 160px">
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <th>单位名称</th>
|
|
|
+ <td>{{ currentCompany.company }}</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>型号</th>
|
|
|
+ <td>{{ currentCompany.model }}</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>飞手</th>
|
|
|
+ <td>{{ currentCompany.driver }}</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th>联系电话</th>
|
|
|
+ <td>{{ currentCompany.tel }}</td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </t-dialog>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import * as echarts from 'echarts';
|
|
|
+import coverImg1 from '@/assets/plant_icon4.png';
|
|
|
+import coverImg2 from '@/assets/plant_icon5.png';
|
|
|
+import coverImg3 from '@/assets/plant_icon6.png';
|
|
|
+import style from '@/config/style';
|
|
|
+console.log(mapvgl);
|
|
|
+const imgList = [coverImg1, coverImg2, coverImg3];
|
|
|
+
|
|
|
+export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ visible: false,
|
|
|
+ currentCompany: {},
|
|
|
+ showSideArr: [true, true, true],
|
|
|
+ showLeft: true,
|
|
|
+ showRight: true,
|
|
|
+ oLeft: 0,
|
|
|
+ oRight: 0,
|
|
|
+ oBottom: '4vh',
|
|
|
+ currentIndex: 0,
|
|
|
+ planeList: [
|
|
|
+ {
|
|
|
+ company: '郑州远见安全装备股份有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '梧桐街21',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '郑州瑞普生物工程有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '长椿路1',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥1',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '郑州林业调查规划设计有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '国槐街',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥2',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '郑州市林业局',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '瑞达路',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥3',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '郑州市林业执法大队',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '河南省郑州市中原区郑密路50号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥4',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '郑州市森林防火中心',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '河南省郑州市金水区花园北路79号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥5',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南文化影视集团有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市金水路83号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥6',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '百盟(郑州)影视文化传媒有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '河南省郑州市金水区国基路60号国家知识产权创意产业试点园区A座6楼0605-18室',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥7',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '国网河南省电力公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市嵩山南路87号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥8',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南电力物资有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市嵩山南路87号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥9',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省林业局',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '河南省郑州市金水区纬五路40号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省林业科学研究院',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '河南省郑州市金水区政七街北段',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥1',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省地理学会',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '河南省开封市明伦街75号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥2',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省地理信息院',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市金水区黄河路8号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥3',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南励图地理信息科技有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市金水区杨金路199号新科技市场9号楼9层901号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥4',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省农业综合开发有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市金水区经三路25号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥5',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南农投乡村振兴投资有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市金水区经三路25号河南省财政厅办公楼14楼AD17室',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥6',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省郑州市郑东新区龙子湖高校园区15号',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '河南省郑州市郑东新区龙子湖高校园区15号-18室',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥7',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南水建集团有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市政六街27号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥8',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省水利第一工程局集团有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '河南省郑州市安平路77号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥9',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南电力物资有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市嵩山南路87号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥9',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省林业局',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '河南省郑州市金水区纬五路40号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省林业科学研究院',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '河南省郑州市金水区政七街北段',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥1',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省地理学会',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '河南省开封市明伦街75号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥2',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省地理信息院',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市金水区黄河路8号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥3',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南励图地理信息科技有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市金水区杨金路199号新科技市场9号楼9层901号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥4',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省农业综合开发有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市金水区经三路25号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥5',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南电力物资有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市嵩山南路87号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥9',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省林业局',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '河南省郑州市金水区纬五路40号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省林业科学研究院',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '河南省郑州市金水区政七街北段',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥1',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省地理学会',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '河南省开封市明伦街75号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥2',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省地理信息院',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市金水区黄河路8号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥3',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南励图地理信息科技有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市金水区杨金路199号新科技市场9号楼9层901号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥4',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company: '河南省农业综合开发有限公司',
|
|
|
+ model: 'DJ-2089',
|
|
|
+ local: '郑州市金水区经三路25号',
|
|
|
+ time: '2023-08-06 08:08',
|
|
|
+ driver: '李逍遥5',
|
|
|
+ tel: '18236547333',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ };
|
|
|
+ },
|
|
|
+ created() {},
|
|
|
+ mounted() {
|
|
|
+ this.initMap();
|
|
|
+ this.initChart();
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ initMap() {
|
|
|
+ let vm = this;
|
|
|
+ // 百度地图API功能
|
|
|
+ // var bmapgl = new BMap.Map('map_div'); // 创建Map实例
|
|
|
+ // bmapgl.centerAndZoom(new BMap.Point(113.625, 34.746), 11); // 初始化地图,设置中心点坐标和地图级别
|
|
|
+ // console.log(mapvgl);
|
|
|
+ //添加地图类型控件
|
|
|
+ // var size1 = new BMap.Size(10, 50);
|
|
|
+ // map.addControl(
|
|
|
+ // new BMap.MapTypeControl({
|
|
|
+ // offset: size1,
|
|
|
+ // mapTypes: [BMAP_NORMAL_MAP, BMAP_SATELLITE_MAP],
|
|
|
+ // }),
|
|
|
+ // );
|
|
|
+ // // 编写自定义函数,创建标注
|
|
|
+ // function addMarker(point, i) {
|
|
|
+ // var marker = new BMap.Marker(point, {
|
|
|
+ // icon: myIcon,
|
|
|
+ // });
|
|
|
+ // marker.addEventListener('click', function () {
|
|
|
+ // vm.currentIndex = i;
|
|
|
+ // });
|
|
|
+ // map.addOverlay(marker);
|
|
|
+ // }
|
|
|
+
|
|
|
+ // // 随机向地图添加25个标注
|
|
|
+ // var bounds = map.getBounds();
|
|
|
+ // var sw = bounds.getSouthWest();
|
|
|
+ // var ne = bounds.getNorthEast();
|
|
|
+ // var lngSpan = Math.abs(sw.lng - ne.lng);
|
|
|
+ // var latSpan = Math.abs(ne.lat - sw.lat);
|
|
|
+ // for (var i = 0; i < 25; i++) {
|
|
|
+ // // 创建小车图标
|
|
|
+ // let index = parseInt(Math.random() * 3);
|
|
|
+ // var coverImg = imgList[index];
|
|
|
+ // var myIcon = new BMap.Icon(coverImg, new BMap.Size(25, 25));
|
|
|
+ // var point = new BMap.Point(sw.lng + lngSpan * (Math.random() * 0.7), ne.lat - latSpan * (Math.random() * 0.7));
|
|
|
+ // addMarker(point, i);
|
|
|
+ // }
|
|
|
+
|
|
|
+ // map.setCurrentCity('郑州'); // 设置地图显示的城市 此项是必须设置的
|
|
|
+ // map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放
|
|
|
+ // //设备地图颜色
|
|
|
+ // var mapStyle = {
|
|
|
+ // style: 'midnight',
|
|
|
+ // };
|
|
|
+ // map.setMapStyle(mapStyle);
|
|
|
+
|
|
|
+ // //加载城市控件
|
|
|
+ // var size = new BMap.Size(10, 50);
|
|
|
+ // map.addControl(
|
|
|
+ // new BMap.CityListControl({
|
|
|
+ // anchor: BMAP_ANCHOR_TOP_LEFT,
|
|
|
+ // offset: size,
|
|
|
+ // }),
|
|
|
+ // );
|
|
|
+ // 1. 创建地图实例
|
|
|
+ var map = new BMapGL.Map('map_bg', {
|
|
|
+ restrictCenter: false,
|
|
|
+ // showVectorStreetLayer: true, // 设置是否加载POI
|
|
|
+ // showVectorLine: true, //设置是否加载路网数据,注意:路网数据的加载依赖必需加载POI。
|
|
|
+ });
|
|
|
+ map.centerAndZoom(new BMapGL.Point(113.625, 34.746), 12);
|
|
|
+ map.enableScrollWheelZoom();
|
|
|
+ // map.setHeading(64.5);
|
|
|
+ map.setTilt(73);
|
|
|
+ // map.setMapType(BMAP_SATELLITE_MAP);
|
|
|
+ map.setDisplayOptions({
|
|
|
+ skyColors: ['rgba(186, 0, 255, 0)', 'rgba(186, 0, 255, 0.2)'],
|
|
|
+ });
|
|
|
+
|
|
|
+ var bd = new BMapGL.Boundary();
|
|
|
+ bd.get('郑州市', function (rs) {
|
|
|
+ var hole = new BMapGL.Polygon(rs.boundaries, {
|
|
|
+ fillColor: '#034c6a',
|
|
|
+ fillOpacity: 0.2,
|
|
|
+ });
|
|
|
+ map.addOverlay(hole);
|
|
|
+ });
|
|
|
+
|
|
|
+ var styleJson = [
|
|
|
+ {
|
|
|
+ featureType: 'land',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ color: '#242f3eff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'manmade',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ color: '#242f3eff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'water',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ color: '#17263cff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'road',
|
|
|
+ elementType: 'geometry.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#9e7d60ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'road',
|
|
|
+ elementType: 'geometry.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#554631ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'districtlabel',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#d69563ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'districtlabel',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#17263cff',
|
|
|
+ weight: 3,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'poilabel',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#d69563ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'poilabel',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#17263cff',
|
|
|
+ weight: 3,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'subway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'railway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'poilabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'subwaylabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'subwaylabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'tertiarywaysign',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'tertiarywaysign',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'provincialwaysign',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'provincialwaysign',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalwaysign',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalwaysign',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highwaysign',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highwaysign',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'green',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ color: '#263b3eff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalwaysign',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#d0021bff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalwaysign',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#ffffffff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'city',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'on',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'city',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'city',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#d69563ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'city',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#17263cff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'water',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#d69563ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'water',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#242f3eff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'local',
|
|
|
+ elementType: 'geometry.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#38414eff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'local',
|
|
|
+ elementType: 'geometry.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#ffffff00',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'fourlevelway',
|
|
|
+ elementType: 'geometry.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#38414eff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'fourlevelway',
|
|
|
+ elementType: 'geometry.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#ffffff00',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'tertiaryway',
|
|
|
+ elementType: 'geometry.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#38414eff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'tertiaryway',
|
|
|
+ elementType: 'geometry.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#ffffff00',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'tertiaryway',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#759879ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'fourlevelway',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#759879ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#759879ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ elementType: 'geometry.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#9e7d60ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ elementType: 'geometry.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#554631ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'provincialway',
|
|
|
+ elementType: 'geometry.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#9e7d60ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'provincialway',
|
|
|
+ elementType: 'geometry.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#554631ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'tertiaryway',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#1a2e1cff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'fourlevelway',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#1a2e1cff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#1a2e1cff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#1a2e1cff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#759879ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ elementType: 'geometry.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#9e7d60ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ elementType: 'geometry.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#554631ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ elementType: 'geometry.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#9e7d60ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ elementType: 'geometry.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#554631ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'arterial',
|
|
|
+ elementType: 'geometry.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#9e7d60ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'arterial',
|
|
|
+ elementType: 'geometry.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#554631fa',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'medicallabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'medicallabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'entertainmentlabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'entertainmentlabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'estatelabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'estatelabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'businesstowerlabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'businesstowerlabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'companylabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'companylabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'governmentlabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'governmentlabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'restaurantlabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'restaurantlabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'hotellabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'hotellabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'shoppinglabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'shoppinglabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'lifeservicelabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'lifeservicelabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'carservicelabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'carservicelabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'financelabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'financelabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'otherlabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'otherlabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'airportlabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'on',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'airportlabel',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#d69563ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'airportlabel',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#17263cff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'airportlabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '6',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '7',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '8',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '10',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '6',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '7',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '8',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '10',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '6',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '7',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '8',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '10',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '6',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '7',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '8',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '10',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '6',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '7',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '8',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'nationalway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '10',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '6',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '7',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '8',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'highway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '10',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'provincialway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '8,9',
|
|
|
+ level: '8',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'provincialway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '8,9',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'provincialway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '8,9',
|
|
|
+ level: '8',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'provincialway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '8,9',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'provincialway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '8,9',
|
|
|
+ level: '8',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'provincialway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '8,9',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '6',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '7',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '8',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '10',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '6',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '7',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '8',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '10',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '6',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '7',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '8',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '6,10',
|
|
|
+ level: '10',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'arterial',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '9,10',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'arterial',
|
|
|
+ stylers: {
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '9,10',
|
|
|
+ level: '10',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'arterial',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '9,10',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'arterial',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '9,10',
|
|
|
+ level: '10',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'arterial',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '9,10',
|
|
|
+ level: '9',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'arterial',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ curZoomRegionId: '0',
|
|
|
+ curZoomRegion: '9,10',
|
|
|
+ level: '10',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'building',
|
|
|
+ elementType: 'geometry.topfill',
|
|
|
+ stylers: {
|
|
|
+ color: '#2a3341ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'building',
|
|
|
+ elementType: 'geometry.sidefill',
|
|
|
+ stylers: {
|
|
|
+ color: '#313b4cff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'building',
|
|
|
+ elementType: 'geometry.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#1a212eff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'road',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#759879ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'road',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#1a2e1cff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'provincialway',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#759879ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#759879ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'arterial',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#759879ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'provincialway',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#1a2e1cff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'cityhighway',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#1a2e1cff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'arterial',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#1a2e1cff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'local',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'manmade',
|
|
|
+ elementType: 'labels.text.fill',
|
|
|
+ stylers: {
|
|
|
+ color: '#d69563ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'manmade',
|
|
|
+ elementType: 'labels.text.stroke',
|
|
|
+ stylers: {
|
|
|
+ color: '#17263cff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'subwaystation',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'transportationlabel',
|
|
|
+ elementType: 'labels.icon',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'transportationlabel',
|
|
|
+ elementType: 'labels',
|
|
|
+ stylers: {
|
|
|
+ visibility: 'off',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ featureType: 'estate',
|
|
|
+ elementType: 'geometry',
|
|
|
+ stylers: {
|
|
|
+ color: '#2a3341ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ map.setMapStyleV2({ styleJson: styleJson });
|
|
|
+
|
|
|
+ // 2. 创建MapVGL图层管理器
|
|
|
+ var view = new mapvgl.View({
|
|
|
+ map: map,
|
|
|
+ });
|
|
|
+
|
|
|
+ var data = [
|
|
|
+ {
|
|
|
+ geometry: {
|
|
|
+ type: 'Point',
|
|
|
+ coordinates: [113.625, 34.746],
|
|
|
+ },
|
|
|
+ properties: {
|
|
|
+ count: 100,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ];
|
|
|
+
|
|
|
+ var fanLayer = new mapvgl.FanLayer({
|
|
|
+ color: '#009900',
|
|
|
+ data: data,
|
|
|
+ size: function (data) {
|
|
|
+ return data.properties.count * 200;
|
|
|
+ },
|
|
|
+ });
|
|
|
+ view.addLayer(fanLayer);
|
|
|
+
|
|
|
+ // var citys = [
|
|
|
+ // '北京',
|
|
|
+ // '天津',
|
|
|
+ // '上海',
|
|
|
+ // '重庆',
|
|
|
+ // '石家庄',
|
|
|
+ // '太原',
|
|
|
+ // '呼和浩特',
|
|
|
+ // '哈尔滨',
|
|
|
+ // '长春',
|
|
|
+ // '沈阳',
|
|
|
+ // '济南',
|
|
|
+ // '南京',
|
|
|
+ // '合肥',
|
|
|
+ // '杭州',
|
|
|
+ // '南昌',
|
|
|
+ // '福州',
|
|
|
+ // '郑州',
|
|
|
+ // '武汉',
|
|
|
+ // '长沙',
|
|
|
+ // '广州',
|
|
|
+ // '南宁',
|
|
|
+ // '西安',
|
|
|
+ // '银川',
|
|
|
+ // '兰州',
|
|
|
+ // '西宁',
|
|
|
+ // '乌鲁木齐',
|
|
|
+ // '成都',
|
|
|
+ // '贵阳',
|
|
|
+ // '昆明',
|
|
|
+ // '拉萨',
|
|
|
+ // '海口',
|
|
|
+ // ];
|
|
|
+
|
|
|
+ // var citys = [
|
|
|
+ // '荥阳市',
|
|
|
+ // '中原区',
|
|
|
+ // '金水区',
|
|
|
+ // '二七区'
|
|
|
+ // ];
|
|
|
+
|
|
|
+ var randomCount = 20;
|
|
|
+ // 构造数据
|
|
|
+ while (randomCount--) {
|
|
|
+ // var cityCenter = mapv.utilCityCenter.getCenterByCityName(citys[parseInt(Math.random() * citys.length, 10)]);
|
|
|
+ data.push({
|
|
|
+ geometry: {
|
|
|
+ type: 'Point',
|
|
|
+ coordinates: [113.625 - 1 + Math.random() * 1.2, 34.746 - 1 + Math.random() * 1.2],
|
|
|
+ },
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ data.push({
|
|
|
+ geometry: {
|
|
|
+ type: 'Point',
|
|
|
+ coordinates: [113.41, 34.46],
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+ var rippleLayer = new mapvgl.RippleLayer({
|
|
|
+ size: 50,
|
|
|
+ unit: 'm',
|
|
|
+ color: 'rgb(255, 51, 0)',
|
|
|
+ enablePicked: true,
|
|
|
+ onClick: (e) => {
|
|
|
+ // 点击事件
|
|
|
+ if (e.dataIndex >= 0) {
|
|
|
+ console.log(e);
|
|
|
+ vm.visible = true;
|
|
|
+ vm.currentCompany = vm.planeList[e.dataIndex];
|
|
|
+ }
|
|
|
+ },
|
|
|
+ });
|
|
|
+ view.addLayer(rippleLayer);
|
|
|
+ rippleLayer.setData(data);
|
|
|
+
|
|
|
+ setTimeout(() => {
|
|
|
+ rippleLayer.setOptions({
|
|
|
+ size: 50,
|
|
|
+ duration: 2,
|
|
|
+ unit: 'px',
|
|
|
+ color: 'rgb(255, 51, 0)',
|
|
|
+ });
|
|
|
+ }, 2000);
|
|
|
+ },
|
|
|
+
|
|
|
+ initChart() {
|
|
|
+ //统计分析图
|
|
|
+ function char1() {
|
|
|
+ var chart1 = document.getElementById('char1');
|
|
|
+ var myChart = echarts.init(chart1);
|
|
|
+
|
|
|
+ var option = {
|
|
|
+ tooltip: {
|
|
|
+ trigger: 'item',
|
|
|
+ formatter: '{a} <br/>{b} : {c} ({d}%)',
|
|
|
+ },
|
|
|
+ legend: {
|
|
|
+ orient: 'vertical',
|
|
|
+ x: 'right',
|
|
|
+ textStyle: {
|
|
|
+ color: '#ffffff',
|
|
|
+ },
|
|
|
+ data: ['偏离空域', '偏离高度', '进入禁区', '黑飞'],
|
|
|
+ },
|
|
|
+
|
|
|
+ calculable: false,
|
|
|
+ series: [
|
|
|
+ {
|
|
|
+ name: '违规类型',
|
|
|
+ type: 'pie',
|
|
|
+ radius: ['40%', '70%'],
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ label: {
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ labelLine: {
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ emphasis: {
|
|
|
+ label: {
|
|
|
+ show: true,
|
|
|
+ position: 'center',
|
|
|
+ textStyle: {
|
|
|
+ fontSize: '20',
|
|
|
+ fontWeight: 'bold',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ data: [
|
|
|
+ { value: 335, name: '偏离空域' },
|
|
|
+ { value: 310, name: '偏离高度' },
|
|
|
+ { value: 234, name: '进入禁区' },
|
|
|
+ { value: 135, name: '黑飞' },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ };
|
|
|
+
|
|
|
+ myChart.setOption(option);
|
|
|
+ window.addEventListener('resize', function () {
|
|
|
+ myChart.resize();
|
|
|
+ });
|
|
|
+ }
|
|
|
+ function char2() {
|
|
|
+ var char2 = document.getElementById('char2');
|
|
|
+ var myChart = echarts.init(char2);
|
|
|
+
|
|
|
+ // prettier-ignore
|
|
|
+ let dataAxis = ['二七区', '金水区', '中原区', '高新区', '郑东新区','管城区', '荥阳', '上街'];
|
|
|
+ // prettier-ignore
|
|
|
+ let data = [10, 4, 8, 9, 10, 1, 7, 12, 18, 5, 8, 11, 12];
|
|
|
+ let yMax = 50;
|
|
|
+ let dataShadow = [];
|
|
|
+ for (let i = 0; i < data.length; i++) {
|
|
|
+ dataShadow.push(yMax);
|
|
|
+ }
|
|
|
+ var option = {
|
|
|
+ // title: {
|
|
|
+ // text: '特性示例:渐变色 阴影 点击缩放',
|
|
|
+ // subtext: 'Feature Sample: Gradient Color, Shadow, Click Zoom',
|
|
|
+ // },
|
|
|
+ xAxis: {
|
|
|
+ data: dataAxis,
|
|
|
+ axisLabel: {
|
|
|
+ inside: true,
|
|
|
+ color: '#fff',
|
|
|
+ },
|
|
|
+ axisTick: {
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ axisLine: {
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ z: 10,
|
|
|
+ },
|
|
|
+ yAxis: {
|
|
|
+ axisLine: {
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ axisTick: {
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ axisLabel: {
|
|
|
+ color: '#999',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ dataZoom: [
|
|
|
+ {
|
|
|
+ type: 'inside',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ series: [
|
|
|
+ {
|
|
|
+ type: 'bar',
|
|
|
+ showBackground: true,
|
|
|
+ itemStyle: {
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
+ { offset: 0, color: '#83bff6' },
|
|
|
+ { offset: 0.5, color: '#188df0' },
|
|
|
+ { offset: 1, color: '#188df0' },
|
|
|
+ ]),
|
|
|
+ },
|
|
|
+ emphasis: {
|
|
|
+ itemStyle: {
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
+ { offset: 0, color: '#2378f7' },
|
|
|
+ { offset: 0.7, color: '#2378f7' },
|
|
|
+ { offset: 1, color: '#83bff6' },
|
|
|
+ ]),
|
|
|
+ },
|
|
|
+ },
|
|
|
+ data: data,
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ };
|
|
|
+ // Enable data zoom when user click bar.
|
|
|
+ const zoomSize = 6;
|
|
|
+ myChart.on('click', function (params) {
|
|
|
+ console.log(dataAxis[Math.max(params.dataIndex - zoomSize / 2, 0)]);
|
|
|
+ myChart.dispatchAction({
|
|
|
+ type: 'dataZoom',
|
|
|
+ startValue: dataAxis[Math.max(params.dataIndex - zoomSize / 2, 0)],
|
|
|
+ endValue: dataAxis[Math.min(params.dataIndex + zoomSize / 2, data.length - 1)],
|
|
|
+ });
|
|
|
+ });
|
|
|
+
|
|
|
+ myChart.setOption(option);
|
|
|
+ window.addEventListener('resize', function () {
|
|
|
+ myChart.resize();
|
|
|
+ });
|
|
|
+ }
|
|
|
+ function char3() {
|
|
|
+ var char3 = document.getElementById('char3');
|
|
|
+ var myChart = echarts.init(char3);
|
|
|
+
|
|
|
+ // var option = {
|
|
|
+ // legend: {
|
|
|
+ // data: ['车辆行驶数量'],
|
|
|
+ // textStyle: {
|
|
|
+ // color: '#ffffff',
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // grid: { show: 'true', borderWidth: '0' },
|
|
|
+
|
|
|
+ // calculable: false,
|
|
|
+ // tooltip: {
|
|
|
+ // trigger: 'axis',
|
|
|
+ // formatter: 'Temperature : <br/>{b}km : {c}°C',
|
|
|
+ // },
|
|
|
+ // xAxis: [
|
|
|
+ // {
|
|
|
+ // type: 'value',
|
|
|
+ // axisLabel: {
|
|
|
+ // formatter: '{value}',
|
|
|
+ // textStyle: {
|
|
|
+ // color: '#fff',
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+
|
|
|
+ // splitLine: {
|
|
|
+ // lineStyle: {
|
|
|
+ // width: 0,
|
|
|
+ // type: 'solid',
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // yAxis: [
|
|
|
+ // {
|
|
|
+ // type: 'category',
|
|
|
+ // axisLine: { onZero: false },
|
|
|
+ // axisLabel: {
|
|
|
+ // formatter: '{value} km',
|
|
|
+ // textStyle: {
|
|
|
+ // color: '#fff',
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // splitLine: {
|
|
|
+ // lineStyle: {
|
|
|
+ // width: 0,
|
|
|
+ // type: 'solid',
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // boundaryGap: false,
|
|
|
+ // data: ['0', '10', '20', '30', '40', '50', '60', '70', '80'],
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // series: [
|
|
|
+ // {
|
|
|
+ // name: '车辆行驶数量',
|
|
|
+ // type: 'line',
|
|
|
+ // smooth: true,
|
|
|
+ // itemStyle: {
|
|
|
+ // normal: {
|
|
|
+ // lineStyle: {
|
|
|
+ // shadowColor: 'rgba(0,0,0,0.4)',
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // data: [15, 0, 20, 45, 22.1, 25, 70, 55, 76],
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // };
|
|
|
+
|
|
|
+ var option = {
|
|
|
+ tooltip: {
|
|
|
+ trigger: 'axis',
|
|
|
+ axisPointer: {
|
|
|
+ type: 'cross',
|
|
|
+ crossStyle: {
|
|
|
+ color: '#999',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ // toolbox: {
|
|
|
+ // feature: {
|
|
|
+ // dataView: { show: true, readOnly: false },
|
|
|
+ // magicType: { show: true, type: ['line', 'bar'] },
|
|
|
+ // restore: { show: true },
|
|
|
+ // saveAsImage: { show: true },
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ legend: {
|
|
|
+ data: ['数量', 'Precipitation', 'Temperature'],
|
|
|
+ },
|
|
|
+ xAxis: [
|
|
|
+ {
|
|
|
+ type: 'category',
|
|
|
+ name: '日期',
|
|
|
+ data: ['12-4', '12-5', '12-6', '12-7', '12-6', '12-7', '12-8'],
|
|
|
+ axisPointer: {
|
|
|
+ type: 'shadow',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ yAxis: [
|
|
|
+ {
|
|
|
+ type: 'value',
|
|
|
+ name: '数量',
|
|
|
+ min: 0,
|
|
|
+ max: 100,
|
|
|
+ interval: 20,
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // type: 'value',
|
|
|
+ // name: 'Temperature',
|
|
|
+ // min: 0,
|
|
|
+ // max: 25,
|
|
|
+ // interval: 5,
|
|
|
+ // axisLabel: {
|
|
|
+ // formatter: '{value} °C',
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ ],
|
|
|
+ series: [
|
|
|
+ {
|
|
|
+ name: '数量',
|
|
|
+ type: 'bar',
|
|
|
+ data: [20, 18, 32, 27, 57, 43, 27, 66],
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // name: 'Precipitation',
|
|
|
+ // type: 'bar',
|
|
|
+ // tooltip: {
|
|
|
+ // valueFormatter: function (value) {
|
|
|
+ // return value + ' ml';
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // data: [2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, 18.8, 6.0, 2.3],
|
|
|
+ // },
|
|
|
+ {
|
|
|
+ name: '数量',
|
|
|
+ type: 'line',
|
|
|
+ data: [20, 18, 32, 27, 57, 43, 27, 66],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ };
|
|
|
+
|
|
|
+ myChart.setOption(option);
|
|
|
+ window.addEventListener('resize', function () {
|
|
|
+ myChart.resize();
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ function char4() {
|
|
|
+ var char4 = document.getElementById('char4');
|
|
|
+ var myChart = echarts.init(char4);
|
|
|
+
|
|
|
+ var option = {
|
|
|
+ grid: { show: 'true', borderWidth: '0' },
|
|
|
+ tooltip: {
|
|
|
+ trigger: 'axis',
|
|
|
+ axisPointer: {
|
|
|
+ // 坐标轴指示器,坐标轴触发有效
|
|
|
+ type: 'shadow', // 默认为直线,可选为:'line' | 'shadow'
|
|
|
+ },
|
|
|
+
|
|
|
+ formatter: function (params) {
|
|
|
+ var tar = params[0];
|
|
|
+ return tar.name + '<br/>' + tar.seriesName + ' : ' + tar.value;
|
|
|
+ },
|
|
|
+ },
|
|
|
+
|
|
|
+ xAxis: [
|
|
|
+ {
|
|
|
+ type: 'category',
|
|
|
+ splitLine: { show: false },
|
|
|
+ data: ['偏离空域', '驶入禁飞区', '黑飞', '其他'],
|
|
|
+ axisLabel: {
|
|
|
+ show: true,
|
|
|
+ textStyle: {
|
|
|
+ color: '#fff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ yAxis: [
|
|
|
+ {
|
|
|
+ type: 'value',
|
|
|
+ splitLine: { show: false },
|
|
|
+ axisLabel: {
|
|
|
+ show: true,
|
|
|
+ textStyle: {
|
|
|
+ color: '#fff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ series: [
|
|
|
+ {
|
|
|
+ name: '报警数量',
|
|
|
+ type: 'bar',
|
|
|
+ stack: '总量',
|
|
|
+ itemStyle: { normal: { label: { show: true, position: 'inside' } } },
|
|
|
+ data: [20, 16, 8, 10],
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ };
|
|
|
+
|
|
|
+ myChart.setOption(option);
|
|
|
+ window.addEventListener('resize', function () {
|
|
|
+ myChart.resize();
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ char1();
|
|
|
+ char2();
|
|
|
+ char3();
|
|
|
+ // char4();
|
|
|
+ },
|
|
|
+
|
|
|
+ getName(str) {
|
|
|
+ return str.length < 15 ? str : `${str.substr(0, 15)}...`;
|
|
|
+ },
|
|
|
+
|
|
|
+ toggleSide(i) {
|
|
|
+ this.showSideArr[i] = !this.showSideArr[i];
|
|
|
+ if (i == 0) {
|
|
|
+ this.oLeft = this.showSideArr[i] ? 0 : '-18%';
|
|
|
+ } else if (i == 1) {
|
|
|
+ this.oRight = this.showSideArr[i] ? 0 : '-18%';
|
|
|
+ } else {
|
|
|
+ this.oBottom = this.showSideArr[i] ? '4vh' : '-280px';
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ goPlan() {
|
|
|
+ this.$router.push('/planManage/index');
|
|
|
+ },
|
|
|
+ goTask() {
|
|
|
+ this.$router.push('/planManage/index');
|
|
|
+ },
|
|
|
+ dealHandle() {
|
|
|
+ this.$router.push('/warnManage/dealWarn');
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scope>
|
|
|
+.fly_info {
|
|
|
+ width: 80%;
|
|
|
+ margin: 4vh 0 0 8%;
|
|
|
+ color: #ffffff;
|
|
|
+ font-size: 16px;
|
|
|
+ line-height: 2;
|
|
|
+}
|
|
|
+
|
|
|
+#map_bg {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ z-index: 1;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+
|
|
|
+.arrow_left {
|
|
|
+ width: 20px;
|
|
|
+ height: 50px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 50px;
|
|
|
+ font-size: 20px;
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ right: -20px;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ background: #034c6a url(../../assets/bigScreen/expand.png) no-repeat center;
|
|
|
+ color: #ffffff;
|
|
|
+ background-size: 100% auto;
|
|
|
+ cursor: pointer;
|
|
|
+ transition: all 200ms linear;
|
|
|
+}
|
|
|
+
|
|
|
+.arrow_right {
|
|
|
+ width: 20px;
|
|
|
+ height: 50px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 50px;
|
|
|
+ font-size: 20px;
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ left: -20px;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ background: #034c6a url(../../assets/bigScreen/expand.png) no-repeat center;
|
|
|
+ color: #ffffff;
|
|
|
+ background-size: 100% auto;
|
|
|
+ cursor: pointer;
|
|
|
+ transition: all 200ms linear;
|
|
|
+}
|
|
|
+
|
|
|
+.arrow_bottom {
|
|
|
+ width: 50px;
|
|
|
+ height: 20px;
|
|
|
+ text-align: center;
|
|
|
+ position: absolute;
|
|
|
+ top: -9px;
|
|
|
+ left: 50%;
|
|
|
+ margin-left: -25px;
|
|
|
+ background: #034c6a url(../../assets/bigScreen/expand_bottom.png) no-repeat center;
|
|
|
+ color: #ffffff;
|
|
|
+ background-size: auto 100%;
|
|
|
+ cursor: pointer;
|
|
|
+ transition: all 200ms linear;
|
|
|
+}
|
|
|
+
|
|
|
+.close {
|
|
|
+ width: 20px;
|
|
|
+ height: 50px;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #ffffff;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 50px;
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ right: -20px;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ background: #034c6a url(../../assets/bigScreen/close.png) no-repeat center;
|
|
|
+ background-size: 100% auto;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+
|
|
|
+.close_bottom {
|
|
|
+ width: 50px;
|
|
|
+ height: 20px;
|
|
|
+ color: #ffffff;
|
|
|
+ text-align: center;
|
|
|
+ position: absolute;
|
|
|
+ top: -9px;
|
|
|
+ left: 50%;
|
|
|
+ margin-left: -25px;
|
|
|
+ background: #034c6a url(../../assets/bigScreen/close_bottom.png) no-repeat center;
|
|
|
+ background-size: auto 100%;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+</style>
|