[mapserver-users] Scaledenom in Map object
Jim Strevinas
voas_acc at hotmail.com
Tue May 5 21:12:32 PDT 2009
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: wal3 at 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
More information about the MapServer-users
mailing list