Sounds like a good idea, but is it any harder than just setting all the other divs to hidden and resetting the size of the map div?

And then reversing it, I suppose. Have you looked through jQuery UI for something?

Keep us posted, 'cuz this sounds like a good implementation!

Michael

On 5/4/2011 5:48 AM, srweal wrote:
Hi everyone,

Can someone point me to an example of how I might get a fullscreen toggle
button working with an OpenLayers map.

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.

Thanks, Steve

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Full-screen-toggle-tp6330666p6330666.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to