summaryrefslogtreecommitdiff
path: root/misc/openlayers/tests/manual/memory/PanZoom-2323.html
blob: de629a69db6f3887ed301254015c6e00302b4e89 (plain)
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
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Memory Test - PanZoom.getSlideFactor</title>
    <style type="text/css">
        body {
            font-size: 0.8em;
        }
        p {
            padding-top: 1em;
        }
        #map {
            width: 256px;
            height: 256px;
            border: 1px solid black;
        }
    </style>

    <script src="../../../lib/Firebug/firebug.js"></script>
    <script src="../../../lib/OpenLayers.js"></script>
    <script type="text/javascript">
        var map;
        var layer;
        
        function init(){
            map = new OpenLayers.Map('map');
        }
    </script>
  </head>
  <body onload="init()">
    <h1 id="title">Memory Test - PanZoom.getSlideFactor</h1>
    <pre id="status"></pre>
    <div id="map"></div>
    <p>
    This test is a memory leak test for: PanZoom.getSlideFactor.
    </p>
    <p>
    Run this test in IE6/7 with <a href="http://blogs.msdn.com/gpde/pages/javascript-memory-leak-detector-v2.aspx">JavaScript Memory Leak Detector v2</a>
    and watch it identify a leak unless this is fixed.
    </p>
  </body>
</html>