[OpenLayers-Users] Full-screen toggle

Trond Michelsen trondmm-openlayers at crusaders.no
Wed May 4 10:35:44 EDT 2011


On Wed, May 04, 2011 at 05:48:00AM -0700, srweal wrote:
> In my site I typically present the map at a size of about 400px square, but
> would like users to be able to click a button in the map div and make it
> toggle between 100% width/height and back to the 400px square. 
> 
> Any ideas? This seems like something that others would have wanted so I just
> expect someone has already done it.

We've simply been using a lightbox to achieve this. 
Specifically this one: http://fancybox.net/

Very simple, and fairly elegant.

-- 
Trond Michelsen


More information about the Users mailing list