[mapserver-users] Scaledenom in Map object

Worth Lutz wal3 at mindspring.com
Tue May 5 12:57:08 EDT 2009


I'm using PHP mapscript.

 

Is $oMap->scaledenom only set by $oMap->draw()?

 

Or is it updated when

 

$oMap->setSize($width, $height);

 

or

 

$oMap->setExtent($minX,$minY,$maxX,$maxY);

 

or one of the zoom methods are called?

 

The manual (in the members list) states that scaledenom is read only, set by
mapDraw().

 

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.

 

Thanks,

Worth 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090505/88f29f95/attachment.html


More information about the mapserver-users mailing list