Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
3
      
4
<html xmlns="http://www.w3.org/1999/xhtml" >
5
  <head>
6
    <title>Mapbuilder memory leak test 2</title>
7
    <link rel='StyleSheet' type='text/css' href='../../lib/skin/default/demoStyles.css'/>
8
    <style>
9
      /* remove border from mainMapPane (work-around for Selenium tests under MSIE) */
10
      #mainMapPane {
11
        border: none;
12
      }
13
    </style>
14
    <script>
15
    // URL of Mapbuilder configuration file.
16
    var mbConfigUrl='config.xml';
17
    </script>
18
    <!-- This points to the core mapbuilder library, replaces this with MapbuilderCompressed.js when you want to use the compressed version -->
19
    <script type="text/javascript" src="../../lib/Mapbuilder.js"></script>
20
    
21
  </head>
22
  <!-- This onload event starts mapbuilder -->
23
  <body onload="mbDoLoad()" >
24
  			<div class="header">
25
  				<a href="index.html">other instance, same context</a><p>
26
  				This is a IE only memory leak, keep switching between the 'other instances' and note the memory usage going up.
27
  			</div>
28
  			<div class="right">
29
		  	  <div id="mainMapPane"><!-- This is the container where the map will be drawn -->
30
    		    <noscript>
31
        	    this page requires Javascript to be enabled
32
        		</noscript>
33
				  </div><!-- /mainMapPane -->
34
          <div>
35
            <div style="float: left; width: 30%;" id="mainButtonBar"><!-- This is the container where the buttons will be drawn --></div>
36
            <div style="float: right; width: 30%" id="cursorTrack"><!-- This is where the cursor tracker will be drawn --></div>
37
            <div id="scaleText"><!-- This is where the scale text will be drawn --></div>
38
          </div>
39
				</div><!-- /right -->
40
	</body>
41
</html>
(4-4/5)