Andreas Hocevar wrote: > On Thu, Jan 8, 2009 at 6:42 PM, Alexandre Dube <[email protected]> wrote: > >> Andreas Hocevar wrote: >> >>> Alexandre Dube wrote: >>> It should be easy to customize the strategy you are using (I assume >>> Fixed or BBOX) to change the url and/or params of the protocol on the >>> zoomend event (similar to the moveend event handler in the BBOX >>> strategy). This strategy would then have to know the urls/params for >>> each zoom level, and you would just interact with one vector layer. >>> >>> >> Exactly. It's a common practice on the web to have data normalized by >> scales, so it would be quite useful to have such an upgrade. >> >> So, you would modify both BBOX and Fixed ? Do others have opinions >> about it ? >> > > No, I'd encourage you to do this on the application level because it > is less than 10 lines of code. If this is to become part of > OpenLayers, it should be a separate strategy (a layer can have > multiple strategies). > > Regards, > Andreas. > >
Understood. I'll try to write a new strategy then. Thanks a lot for the tips. -- Alexandre Dubé Mapgears www.mapgears.com _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
