<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.objectbox
        {mso-style-name:objectbox;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hi list<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I have been trying to make the loading panel work, as per <a
href="http://trac.openlayers.org/wiki/Addins/LoadingPanel">http://trac.openlayers.org/wiki/Addins/LoadingPanel</a>
but can&#8217;t seem to make it work.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I am using OL 2.8 &nbsp;(also tried 2.9 &#8211; same
problem) which is referenced in my code as: &nbsp;&lt;script
src=&quot;../OpenLayers-2.8/lib/OpenLayers.js&quot;&gt;&lt;/script&gt;.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I downloaded LoadingPanel.js and put it in the directory
OpenLayers-2.8/lib/OpenLayers/Control. &nbsp;Then when creating a map I have: <o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-indent:36.0pt'>map = new OpenLayers.Map('map',
options);<o:p></o:p></p>

<p class=MsoNormal style='text-indent:36.0pt'>&nbsp;var loadingpanel = new
OpenLayers.Control.LoadingPanel()<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
map.addControl(loadingpanel);<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>This throws an error in Firefox:&nbsp; &#8220;<span
class=objectbox>OpenLayers.Control.LoadingPanel is not a constructor&#8221;<o:p></o:p></span></p>

<p class=MsoNormal><span class=objectbox><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span class=objectbox>The loading panel instructions talk
about creating a single file build which I have not done &#8211; is this my
problem, or should I be able to make this work with the OL 2.8
&nbsp;development libraries?<o:p></o:p></span></p>

<p class=MsoNormal><span class=objectbox><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span class=objectbox><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span class=objectbox>Chris</span><o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>