<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-html" lang="x-western">I've try to post the code
in the internal list, but I don't how to register. Anyway here the
code. I've applied the changes on the 1.0.2, but in the last version
works fine.<br>
<br>
Somebody who know how to do it, please e-mail me.<br>
<br>
This patch use javascript to zoom with the wheel mouse, like in AutoCAD.<br>
<br>
Another patch is to input in the scale bar, a scale manually. <br>
<br>
You can see an icon in the toolbar when the map is loading.<br>
<br>
All these changes in action <a
href="http://wms.diphuelva.es/mapguide/phpviewersample/index.php">here</a>.
Click on the help icon to see more features.<br>
<div align="center">
<div align="left"><br>
E-mail me with any problem.<br>
<br>
Thank you.<br>
<br>
<hr size="2" width="100%"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;"><br>
</span></font><b><font size="5"><span
style="font-size: 18pt; font-weight: bold;">[toolbar.templ]<br>
<br>
</span></font></b>In css:<o:p></o:p>
<div class="MsoNormal" style="text-align: center;" align="center"><font
color="black" face="Times New Roman" size="3"><span
style="font-size: 12pt;">
<hr align="center" size="2" width="100%"></span></font></div>
<p class="MsoNormal"><b><font color="black" face="Times New Roman"
size="2"><span style="font-size: 10pt; font-weight: bold;">
div.cssRefresh<br>
{<br>
position: absolute; <br>
right:10px;<br>
top:4px; <br>
}</span></font></b><o:p></o:p></p>
<div class="MsoNormal" style="text-align: center;" align="center"><font
color="black" face="Times New Roman" size="3"><span
style="font-size: 12pt;">
<hr align="center" size="2" width="100%"></span></font></div>
<p class="MsoNormal"><font color="black" face="Times New Roman" size="3"><span
style="font-size: 12pt;">The body seems like this. Rotating_arrow.gif
is the
image. You can design it or use the attached:<o:p></o:p></span></font></p>
<div class="MsoNormal" style="text-align: center;" align="center"><font
color="black" face="Times New Roman" size="3"><span
style="font-size: 12pt;">
<hr align="center" size="2" width="100%"></span></font></div>
<p class="MsoNormal"><font color="black" face="Times New Roman" size="2"><span
style="font-size: 10pt;"><body class="Toolbar"
onload="InitDocument()" leftmargin=10 topmargin=0 rightmargin=0
bottommargin=0 marginwidth=0><br>
<b><span style="font-weight: bold;"> <div
id="divRefresh" name="divRefresh"
class="cssRefresh"><img alt="loading"
src="../phpviewersample/images/common/rotating_arrow.gif"></div></span></b><br>
<span
id="ToolbarContent"><td></td></span><br>
<div class="TextMetricsDiv"
id="TextMetricsDiv"><span class="TextMetrics"
id="Metrics"></span></div><br>
</body></span></font><o:p></o:p></p>
<div class="MsoNormal" style="text-align: center;" align="center"><font
color="black" face="Times New Roman" size="3"><span
style="font-size: 12pt;">
<hr align="center" size="2" width="100%"></span></font></div>
<p class="MsoNormal"><b><font color="black" face="Times New Roman"
size="5"><span style="font-size: 18pt; font-weight: bold;">[ajaxmappane.templ]<br>
<br>
</span></font></b>About line 1350:<o:p></o:p></p>
<div class="MsoNormal" style="text-align: center;" align="center"><font
color="black" face="Times New Roman" size="3"><span
style="font-size: 12pt;">
<hr align="center" size="2" width="100%"></span></font></div>
<p class="MsoNormal"><font color="black" face="Times New Roman" size="2"><span
style="font-size: 10pt;"> if(requestObj.responseXML)<br>
{<br>
var resp =
ParseEnvelope(requestObj.responseXML.documentElement);<br>
if(resp == null)<br>
RequestFailed("Invalid XML response");<br>
else<br>
{<br>
<b><span style="font-weight: bold;">
var frmParent = parent.frames ["tbFrame"];<br>
var objDivRefresh =
frmParent.document.getElementById("divRefresh");<br>
if(objDivRefresh!=null){
objDivRefresh.style.display='block'; }<br>
</span></b> <br>
panX1 =
extX1 = resp.lowerLeft.X;</span></font><br>
...<o:p></o:p></p>
<div class="MsoNormal" style="text-align: center;" align="center"><font
color="black" face="Times New Roman" size="3"><span
style="font-size: 12pt;">
<hr align="center" size="2" width="100%"></span></font></div>
<p class="MsoNormal"><font color="black" face="Times New Roman" size="3"><span
style="font-size: 12pt;">Line 1463 after the changes:<o:p></o:p></span></font></p>
<div class="MsoNormal" style="text-align: center;" align="center"><font
color="black" face="Times New Roman" size="3"><span
style="font-size: 12pt;">
<hr align="center" size="2" width="100%"></span></font></div>
<p class="MsoNormal"><font color="black" face="Times New Roman" size="2"><span
style="font-size: 10pt;"> if(safari)<br>
curimg = (curimg ==
"mapImage1"? "mapImage2": "mapImage1");<br>
<br>
<b><span style="font-weight: bold;"> var frmParent = parent.frames
["tbFrame"];<br>
var objDivRefresh =
frmParent.document.getElementById("divRefresh");<br>
if(objDivRefresh!=null){ objDivRefresh.style.display='none'; }<br>
</span></b> <br>
return false;<br>
}<br>
</span></font></p>
<hr size="2" width="100%"><b><big>Jose Manuel Cerrejon Gonzalez<br>
<a class="moz-txt-link-abbreviated"
href="mailto:jose.cerrejon@mapas-sll.com">jose.cerrejon@mapas-sll.com</a>
| <a class="moz-txt-link-abbreviated" href="mailto:gis@mapas-sll.com">gis@mapas-sll.com</a></big></b><i><b><big><br>
I+D<br>
<a href="http://mapas-sll.com">MAPAS SLL</a></big></b></i>
<p class="MsoNormal"><i><b><big> </big></b></i></p>
</div>
</div>
</div>
</body>
</html>