| <!DOCTYPE html> | 
| <html> | 
|   | 
| <head> | 
|     <meta charset="UTF-8"> | 
|     <title>地形提取</title> | 
|     <link rel="stylesheet" href="//at.alicdn.com/t/font_2599272_671fgrsk7ev.css"> | 
|     <link href="../../libs/layui/css/layui.css" rel="stylesheet"> | 
|     <script type="text/javascript" src="../../libs/jquery/jquery-3.5.1.min.js"></script> | 
|     <script type="text/javascript" src="../../libs/layui/layui.js"></script> | 
|     <script type="module"> | 
|         import {write} from '../../libs/shapewrite/shpwrite.js'; | 
|         console.log(write); | 
|     </script> | 
|   | 
|     <style> | 
|         .floordiv { | 
|             color: white; | 
|             /* overflow-x: hidden; | 
|             overflow-y: auto; | 
|             padding: 0; */ | 
|         } | 
|   | 
|         .mt-label { | 
|             height: 30px; | 
|             color: white; | 
|             width: 60px; | 
|             float: left; | 
|             margin-left: 10px; | 
|             line-height: 30px; | 
|             font-size: 12px; | 
|         } | 
|   | 
|         .mt-content { | 
|             height: 30px; | 
|             color: white; | 
|             width: 100px; | 
|             float: left; | 
|             /* margin-left: 10px; */ | 
|         } | 
|   | 
|         .mt-row { | 
|             height: 30px; | 
|             margin-top: 10px; | 
|         } | 
|   | 
|         .form-control { | 
|             /* display: block; */ | 
|             width: 80px; | 
|             height: 20px; | 
|             padding: 4px 3px; | 
|             font-size: 14px; | 
|             line-height: 1.6; | 
|             background-color: #2c3238; | 
|             opacity: 0.8; | 
|             color: #fff; | 
|             background-image: none; | 
|             border: 0px solid #e4eaec; | 
|             border-radius: 3px; | 
|             -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%); | 
|             box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%); | 
|             -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; | 
|             -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; | 
|             -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; | 
|             transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; | 
|             transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; | 
|             transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; | 
|         } | 
|   | 
|         .mybtn-blue { | 
|             color: #fff; | 
|             background-color: #1E9FFF; | 
|             border-color: #1E9FFF; | 
|         } | 
|   | 
|         .mybtn-yellow { | 
|             color: #fff; | 
|             background-color: #FFB800; | 
|             border-color: #FFB800; | 
|         } | 
|   | 
|         .mybtn-green { | 
|             color: #fff; | 
|             background-color: #009688; | 
|             border-color: #009688; | 
|         } | 
|   | 
|         .mybtn-red { | 
|             color: #fff; | 
|             background-color: #FF5722; | 
|             border-color: #FF5722; | 
|         } | 
|     </style> | 
| </head> | 
|   | 
| <body> | 
|     <div class="floordiv"> | 
|         <div class="mt-row"> | 
|             <button type="button" style="margin-left: 15px;width: 140px;" class="layui-btn mybtn-blue layui-btn-sm" | 
|             onclick="shpExport()"><i class="iconfont icon-kaishi"></i>绘制/重新绘制区域</button> | 
|             <div class="mt-label"> | 
|                 精度(米): | 
|             </div> | 
|             <div class="mt-content"> | 
|                 <input type="number" id="interpolation" autocomplete="off" class="form-control" value="10" min="1"> | 
|             </div> | 
|         </div> | 
|         <div class="mt-row"> | 
|             <div class="mt-content"> | 
|                 <input type="checkbox" id="checkbox" value="" checked="checked" | 
|                     style="margin-left: 10px;margin-top: 6px;margin-right: 5px;" /> 坐标转换 | 
|             </div> | 
|         </div> | 
|         <div class="mt-row"> | 
|             <div class="mt-label"> | 
|                 参考经度: | 
|             </div> | 
|             <div class="mt-content"> | 
|                 <input type="number" id="longitude" autocomplete="off" class="form-control" value="0"> | 
|             </div> | 
|             <div class="mt-label"> | 
|                 参考纬度: | 
|             </div> | 
|             <div class="mt-content"> | 
|                 <input type="number" id="latitude" autocomplete="off" class="form-control" value="0"> | 
|             </div> | 
|         </div> | 
|         <div class="mt-row"> | 
|             <div class="mt-label"> | 
|                 参考X: | 
|             </div> | 
|             <div class="mt-content"> | 
|                 <input type="number" id="OriX" autocomplete="off" class="form-control" value="0"> | 
|             </div> | 
|             <div class="mt-label"> | 
|                 参考Y: | 
|             </div> | 
|             <div class="mt-content"> | 
|                 <input type="number" id="OriY" autocomplete="off" class="form-control" value="0"> | 
|             </div> | 
|         </div> | 
|         <div class="mt-row"> | 
|             <div class="mt-label"> | 
|                 参考Z: | 
|             </div> | 
|             <div class="mt-content"> | 
|                 <input type="number" id="OriZ" autocomplete="off" class="form-control" value="0"> | 
|             </div> | 
|             <button type="button" style="margin-left: 15px;" class="layui-btn mybtn-blue layui-btn-sm" | 
|                 onclick="shpExport()"><i class="iconfont icon-kaishi"></i>导出</button> | 
|         </div> | 
|     </div> | 
|   | 
|     <script> | 
|         var Cesium; | 
|         var points = []; | 
|         function shpExport() { | 
|   | 
|   | 
|   | 
|         } | 
|     </script> | 
| </body> | 
|   | 
| </html> |