surprise
2023-12-29 18377dc5d61caf3a6a0835e17015ac2601f8709d
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
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
 
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript">
        // 可以进行if判断区分不用域名
        var BMAP_RESORCE_TILE = "10.10.4.116:8085/yzAdapter/SosoService";
        var BMAP_RESORCE_IP = "10.10.4.116:8085/yzAdapter/SosoService";
    </script>
 
    <script src="./js/panorama.min.js"></script>
 
    <script src="./js/yzPanorama.js"></script>
    <style>
        html,
        body {
            width: 100%;
            height: 100%;
            margin: 0px;
            padding: 0px;
            overflow: hidden;
        }
 
        #qjMap {
            width: 100%;
            height: 100%;
            background-color: coral;
        }
    </style>
 
 
</head>
 
<body>
    <div id="qjMap"></div>
</body>
 
</html>
 
<script type="text/javascript">
    //lat:39.902729665356674
    //lng:116.3522782487761
    function init() {
 
        let panorama = new yzPanorama();
        panorama.open({
            id: "qjMap",
            lng: 116.3522782487761,
            lat: 39.902729665356674
        });
 
    }
    init();
</script>