<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" 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"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 70.85pt 70.85pt 70.85pt 70.85pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: black; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: black; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: black; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
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=HR vLink=purple link=blue bgColor=white>
<DIV dir=ltr align=left><SPAN class=094154411-03042007><FONT face=Arial
color=#0000ff size=2>Jose, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=094154411-03042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=094154411-03042007><FONT face=Arial
color=#0000ff size=2>I missed where you posted the rest of the code for the
zooming. Can you send that to me or post it again. Or point me to
the post that contains the code.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=094154411-03042007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=094154411-03042007><FONT face=Arial
color=#0000ff size=2>Chris</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Ivan
Milicevic<BR><B>Sent:</B> Monday, April 02, 2007 5:13 PM<BR><B>To:</B> 'MapGuide
Users Mail List'<BR><B>Subject:</B> RE: [mapguide-users] patch for Mouse Wheel
Zoom,set scale and image on loading map in Ajax.<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">You're
the man!<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN
lang=EN-US
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Tahoma','sans-serif'">
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>José Manuel
Cerrejón González<BR><B>Sent:</B> Friday, March 30, 2007 1:36 PM<BR><B>To:</B>
mapguide-users@lists.osgeo.org<BR><B>Subject:</B> [mapguide-users] patch for
Mouse Wheel Zoom, set scale and image on loading map in
Ajax.<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<DIV>
<P class=MsoNormal>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.<o:p></o:p></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><BR>E-mail me with any
problem.<BR><BR>Thank you.<o:p></o:p></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV>
<P class=MsoNormal><BR><B><SPAN
style="FONT-SIZE: 18pt">[toolbar.templ]<BR><BR></SPAN></B>In css:
<o:p></o:p></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><B><SPAN
style="FONT-SIZE: 10pt">
div.cssRefresh<BR> {<BR>
position: absolute; <BR>
right:10px;<BR>
top:4px;
<BR>
}</SPAN></B><o:p></o:p></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">The body seems
like this. Rotating_arrow.gif is the image. You can design it or use the
attached:<o:p></o:p></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN
style="FONT-SIZE: 10pt"><body class="Toolbar" onload="InitDocument()"
leftmargin=10 topmargin=0 rightmargin=0 bottommargin=0
marginwidth=0><BR><B> <div id="divRefresh"
name="divRefresh" class="cssRefresh"><img alt="loading"
src="../phpviewersample/images/common/rotating_arrow.gif"></div></B><BR>
<span
id="ToolbarContent"><td></td></span><BR>
<div class="TextMetricsDiv" id="TextMetricsDiv"><span
class="TextMetrics" id="Metrics"></span></div><BR>
</body></SPAN><o:p></o:p></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><B><SPAN
style="FONT-SIZE: 18pt">[ajaxmappane.templ]<BR><BR></SPAN></B>About line
1350:<o:p></o:p></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><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>
var frmParent = parent.frames
["tbFrame"];<BR> var
objDivRefresh =
frmParent.document.getElementById("divRefresh");<BR>
if(objDivRefresh!=null){
objDivRefresh.style.display='block'; }<BR></B>
<BR> panX1 =
extX1 = resp.lowerLeft.X;</SPAN><BR>
...<o:p></o:p></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">Line 1463 after
the changes:<o:p></o:p></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV>
<P class=MsoNormal
style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN
style="FONT-SIZE: 10pt">
if(safari)<BR> curimg = (curimg ==
"mapImage1"? "mapImage2":
"mapImage1");<BR>
<BR><B> var frmParent = parent.frames
["tbFrame"];<BR> var objDivRefresh =
frmParent.document.getElementById("divRefresh");<BR>
if(objDivRefresh!=null){ objDivRefresh.style.display='none';
}<BR></B> <BR> return
false;<BR>}</SPAN><o:p></o:p></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
<HR align=center width="100%" SIZE=2>
</DIV>
<P class=MsoNormal><B><SPAN style="FONT-SIZE: 13.5pt">Jose Manuel Cerrejon
Gonzalez<BR><A
href="mailto:jose.cerrejon@mapas-sll.com">jose.cerrejon@mapas-sll.com</A> | <A
href="mailto:gis@mapas-sll.com">gis@mapas-sll.com</A><I><BR>I+D<BR><A
href="http://mapas-sll.com">MAPAS SLL</A></I></SPAN></B>
<o:p></o:p></P></DIV></DIV></BODY></HTML>