管道基础大数据平台系统开发-【CS】-ExportMap
13693261870
2023-06-25 168bba3491d987955aaf75907554f68c444dbeda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>UE接口测试</title>
  <meta http-equiv="Expires" content="0" />
  <meta http-equiv="Cache" content="no-cache" />
  <meta http-equiv="Pragma" content="no-cache" />
  <meta http-equiv="Cache-control" content="no-cache" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <script src="js/jquery.1.12.4.js"></script>
  <script src="js/tumap.js"></script>
  <style>
    html,
    body {
      width: 100%;
      height: 100%;
      padding: 0;
      margin: 0;
      overflow: hidden;
      font-size: 13px;
      font-family: 微软雅黑;
    }
 
    #map {
      width: 100%;
      height: 100%;
      position: absolute;
    }
  </style>
  <script>
    $(function () {
      window.map = new TUMap({
        id: 'map', // div的id
        //url: 'http://192.168.20.39:91', // UE服务地址
        url: 'http://103.85.165.99:91',
        onInit: function () { // 初始化完成事件
          console.log("初始化完成");
        }
      })
    });
  </script>
</head>
<body>
  <div id="map"></div>
</body>
</html>