[OpenLayers-Users] keep map displayed when loading on zoom
Andreas Hocevar
ahocevar at opengeo.org
Wed Sep 2 06:53:27 EDT 2009
Florent Gravin wrote:
> Is there a way to keep the map displayed when you zoom (with bad
> resolution) until the new tiles with a better resolution are loaded.
> Like for exemple in Google Map where you NEVER have white map because
> data are loading..
This can be done in OL too. All you need is to pass
transitionEffect: "resize"
to the layer's options.
To see it in action and as a starting point for your own map, have a
look at http://www.openlayers.org/dev/examples/transition.html
Regards,
Andreas.
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list