Hi Worth,
    If you want the scaledenom to be compute after the creation of
    the map object you can use the (mapObj) function prepareQuery().
    With this method you are able to leave the state of the map object
     intact for using it later for draw() setExtent() etc..
    If setExtent, draw, drawQuery is used, then of course the scaledenom
     is computed and rewritten.

>>> From: w...@mindspring.com

> Subject: [mapserver-users] Scaledenom in Map object

> 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 

 


_________________________________________________________________
Show them the way! Add maps and directions to your party invites. 
http://www.microsoft.com/windows/windowslive/products/events.aspx_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to