hi, maybe this could help: http://n2.nabble.com/A-kind-of-MultiLayer-container-td3379027.html#a3379027
and for vectors: http://openlayers.org/pipermail/users/2009-January/009666.html On Tue, Aug 11, 2009 at 10:49 PM, Christopher Schmidt<[email protected]> wrote: > On Tue, Aug 11, 2009 at 03:37:21PM -0500, Mak Kolybabi wrote: >> For my current application, I need to simplify roads as much as possible. >> PostGIS provides >> the ST_Simplify function for this, and it works wonderfully. For obvious >> reasons, the >> closer I zoom into the layer, the simplifications that were fine when zoomed >> further out >> gradually become unacceptable. >> >> Is there a way to make OpenLayers query a different (TMS) source based on >> the zoom level? >> If this can be done, I'll be able to tune the ST_Simplify tolerance >> parameter for each >> zoom level. > > Why not use scale-dependant rendering on the backend to select a different > datasource/layer when zoomed in vs. zoomed out? > > Regards, > -- > Christopher Schmidt > MetaCarta > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > -- Ivan Grcic _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
