1 |
4307
|
leinfelder
|
<?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='config2.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="index2.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 |
|
|
</p>
|
28 |
|
|
<a href="index.html">other instance, different context</a><p>
|
29 |
|
|
</div>
|
30 |
|
|
<div class="right">
|
31 |
|
|
<div id="mainMapPane"><!-- This is the container where the map will be drawn -->
|
32 |
|
|
<noscript>
|
33 |
|
|
this page requires Javascript to be enabled
|
34 |
|
|
</noscript>
|
35 |
|
|
</div><!-- /mainMapPane -->
|
36 |
|
|
<div>
|
37 |
|
|
<div style="float: left; width: 30%;" id="mainButtonBar"><!-- This is the container where the buttons will be drawn --></div>
|
38 |
|
|
<div style="float: right; width: 30%" id="cursorTrack"><!-- This is where the cursor tracker will be drawn --></div>
|
39 |
|
|
<div id="scaleText"><!-- This is where the scale text will be drawn --></div>
|
40 |
|
|
</div>
|
41 |
|
|
</div><!-- /right -->
|
42 |
|
|
</body>
|
43 |
|
|
</html>
|