Hey Henry,

If you are talking about what I think you are (you want to fit the map to
the screen), then really what you want to listen for is a window resize
event.  If you are using jquery (which you should be!), then you just need
to attach a function to $(window).resize().  If you aren't using jquery, you
can use window.onresize.  Then you just resize the map div to extend to the
full width and height of the page.  Once again, writing this will be much
easier if you use jquery so I suggest you do.

On Thu, Nov 18, 2010 at 8:45 AM, Henry <[email protected]> wrote:

>
> Hello mailing list,
>
> is there a map resize event that I can listen to? E. g. when the browser
> window is resized by the user?
>
> Bye Henry
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/map-resize-event-tp5751676p5751676.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