hjg
2024-07-09 30304784e82d4bba24121328da8eb8490aec4f4f
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html>
<head>
  <title>gmaps.js test</title>
  <link rel="stylesheet" type="text/css" href="lib/jasmine.css" />
  <link rel="stylesheet" href="style.css" />
  <script type="text/javascript" src="lib/jasmine.js"></script>
  <script type="text/javascript" src="lib/jasmine-html.js"></script>
 
  <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
  <script type="text/javascript" src="../gmaps.js"></script>
 
  <script type="text/javascript" src="spec/MapSpec.js"></script>
  <script type="text/javascript" src="spec/MarkerSpec.js"></script>
  <script type="text/javascript" src="spec/GeometrySpec.js"></script>
  <script type="text/javascript" src="spec/LayerSpec.js"></script>
  <script type="text/javascript" src="spec/OverlaySpec.js"></script>
  <script type="text/javascript" src="spec/RouteSpec.js"></script>
  <script type="text/javascript" src="spec/StyleSpec.js"></script>
  <script type="text/javascript" src="spec/StreetViewSpec.js"></script>
  <script type="text/javascript" src="spec/EventSpec.js"></script>
 
  <script type="text/javascript">
    (function() {
      var jasmineEnv = jasmine.getEnv();
      jasmineEnv.updateInterval = 1000;
 
      var htmlReporter = new jasmine.HtmlReporter();
 
      jasmineEnv.addReporter(htmlReporter);
 
      jasmineEnv.specFilter = function(spec) {
        return htmlReporter.specFilter(spec);
      };
 
      var currentWindowOnload = window.onload;
 
      window.onload = function() {
        if (currentWindowOnload) {
          currentWindowOnload();
        }
 
        execJasmine();
      };
 
      function execJasmine() {
        jasmineEnv.execute();
      }
 
    })();
  </script>
</head>
<body>
  <h3>Basic map</h3>
  <div class="map" id="basic-map"></div>
  <h3>Advanced map</h3>
  <div class="map" id="advanced-map"></div>
  <h3>Map with events</h3>
  <div class="map" id="map-with-events"></div>
  <h3>Map with markers</h3>
  <div class="map" id="map-with-markers"></div>
  <h3>Map with custom controls</h3>
  <div class="map" id="map-with-custom-controls"></div>
  <h3>Map with polygons</h3>
  <div class="map" id="map-with-polygons"></div>
  <h3>Map with layers</h3>
  <div class="map" id="map-with-layers"></div>
  <h3>Map with overlays</h3>
  <div class="map" id="map-with-overlays"></div>
  <h3>Map with routes</h3>
  <div class="map" id="map-with-routes"></div>
  <h3>Map with styles</h3>
  <div class="map" id="map-with-styles"></div>
  <h3>Street View Panorama</h3>
  <div class="panorama" id="streetview-standalone-panorama"></div>
  <h3>Map with Street View</h3>
  <div class="with-columns">
    <div class="map" id="map-with-streetview"></div>
    <div class="panorama" id="streetview-panorama"></div>
  </div>
  <h3>Street View Panorama with events</h3>
  <div class="panorama" id="streetview-with-events"></div>
  <h3>Events</h3>
  <div class="map" id="events"></div>
</body>
</html>