<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" 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 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Comic Sans MS";
panose-1:3 15 7 2 3 3 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Comic Sans MS";
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>I’m using PHP mapscript.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>Is $oMap->scaledenom only set by
$oMap->draw()?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>Or is it updated when<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>$oMap->setSize($width, $height);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:.5in'><font size=3 face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-indent:.5in'><font size=3 face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS"'>or<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>$oMap->setExtent($minX,$minY,$maxX,$maxY);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>or one of the zoom methods are called?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>The manual (in the members list) states
that scaledenom is read only, set by mapDraw().<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>I need to use this value before draw and
need to know if I need to calculate it myself or can I set the map size and the
use the value from the map object.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>Thanks,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'>Worth <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Comic Sans MS"><span style='font-size:
12.0pt;font-family:"Comic Sans MS"'><o:p> </o:p></span></font></p>
</div>
</body>
</html>