[OpenLayers-Dev] new Strategy.OptionsByZoom

Tim Schaub tschaub at opengeo.org
Mon Jan 19 16:06:23 EST 2009


Alexandre Dube wrote:
> Hi devs,
>   http://trac.openlayers.org/ticket/1905 is an unassigned ticket implementing a new feature : Strategy.OptionsByZoom
>   See live examples of use :
>     (working) http://dev4.mapgears.com/bdga/options-by-zoom-bdga.html 
>     (missing different data sources) http://dev.openlayers.org/sandbox/adube/openlayers/examples/options-by-zoom.html
>   Comments are welcomed,

Not sure I get it - but I may have missed the back story.

Looks like you want to display a different layer (featureType) depending 
on the scale.

The current solutions are to
1) use multiple layers on the client with scale constraints, or
2) configure your server to use different data sources depending on scale.

Can you describe what is wrong with either of the solutions above?  The 
first one is particularly easy.


> Regards,

Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.

More information about the Dev mailing list