| | |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <script src="js/jquery.1.12.4.js"></script> |
| | | <script> |
| | | var token = "384d7382-ea48-400b-bc92-58cb2b28bcbc"; |
| | | var token = "92255639-2e64-4095-bc75-6ce2ded45fdc"; |
| | | |
| | | $(function () { |
| | | $("#token").html(token); |
| | |
| | | xmin: 103.394023, |
| | | ymin: 30.690466, |
| | | ymax: 37.871048, |
| | | xmax: 112.534648 |
| | | }; |
| | | |
| | | ajax("Export/Start", "POST", JSON.stringify(data), null, null, function (rs) { |
| | | alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result); |
| | | console.log(rs); |
| | | }); |
| | | } |
| | | |
| | | // 出图-2 |
| | | function exportMap2() { |
| | | var page = $("#selectPage").find("option:selected").text(); |
| | | var data = { |
| | | token: token, |
| | | title: "管道基础大数据平台(DW1-02)", |
| | | pageSize: page, |
| | | province: "山东省", |
| | | scale: "1:1万", |
| | | resolution: "2米", |
| | | date: "2022.11.10", |
| | | layers: "bs_project,th_strategic_channel,m_hydraulic_protection,m_marker,m_pipeline,m_sitepoint,m_valvehousepoint,m_crossing,高德影像", |
| | | rotation: 0, |
| | | xmin: 103.394023, |
| | | ymin: 30.690466, |
| | | ymax: 37.871048, |
| | | xmax: 112.534648 |
| | | xmax: 112.534648, |
| | | wmtsUrl: "http://219.153.49.10:7511/sj_raster/v6/wmts/service/system/10000201/1?ak=mf72ff9295c740ec0f37e61433e8a3ad8d" |
| | | }; |
| | | |
| | | ajax("Export/Start", "POST", JSON.stringify(data), null, null, function (rs) { |
| | |
| | | <option selected="selected">A4</option> |
| | | </select> |
| | | <input type="button" value="出图-1" onclick="exportMap1()" /> |
| | | <input type="button" value="出图-2" onclick="exportMap2()" /> |
| | | <br /><br /> |
| | | </body> |
| | | </html> |