[Cartoweb-users] recenter_scale parameter

Max Ueda mhanzo at yahoo.com
Wed Feb 28 10:05:17 EST 2007


Thanks, Oliver, it works!

recenter_doit has to be set as 1. 

Regards,

Max Ueda

--- Oliver Christen <oliver.christen at camptocamp.com>
wrote:

> Hi Max,
> 
> I think you also need to set recenterDoit to true in
> the filter so the 
> recenter_scale get processed via POST request.
> See the parameters of the function
> handleRecenterScales() in 
> ClientLocation.php
> 
> Regards,
> Oliver
> 
> 
> ----- Original Message ----- 
> From: "Max Ueda" <mhanzo at yahoo.com>
> To: <cartoweb-users at lists.maptools.org>
> Sent: Monday, February 26, 2007 3:32 PM
> Subject: [Cartoweb-users] recenter_scale parameter
> 
> 
> > Hi,
> >
> > I'd like to know which plugins and configuration
> > values deal with the recenter_scale parameter.
> >
> > I'm having some problems in setting it via
> > filterPostRequest(). When I call
> > $request->setValue('recenter_scale', someValue),
> it
> > seems to be overwritten by something that is
> loaded
> > after the plugin that makes this call.
> >
> > The funny thing is, that at the very same plugin,
> in
> > the filterGetRequest(),
> > $request->setValue('recenter_scale', someValue)
> works
> > as it is called, with no overwriting.
> >
> > I'm loading this list of plugin at client side:
> > outline,  views, mapOverlay,  checkInstall,
> > recenterLatLong (custom, deals with
> recenter_scale),
> > exampleRecentering (custom, deals with
> > recenter_scale),  ToolTips,
> OutlineStationLayerBuild
> > (custom, Outline plugin extension).
> >
> > At server side, hilight, mapOverlay, wmsBrowser,
> > outline, ToolTips.
> >
> >
> > None of the two custom plugins that deals with
> > recenter_scale seem to work with
> > $request->setValue('recenter_scale', someValue)
> when
> > using the filterPostRequest() method.
> >
> > What could be wrong?
> >
> > Thanks in advance,
> >
> > Max Ueda
> >
> >
> >
> >
>
____________________________________________________________________________________
> > 8:00? 8:25? 8:40? Find a flick in no time
> > with the Yahoo! Search movie showtime shortcut.
> > http://tools.search.yahoo.com/shortcuts/#news
> > _______________________________________________
> > Cartoweb-users mailing list
> > Cartoweb-users at lists.maptools.org
> >
>
http://lists.maptools.org/mailman/listinfo/cartoweb-users
> > 
> 
> 



 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news


More information about the Cartoweb-users mailing list