Opened 11 years ago

Closed 11 years ago

#206 closed enhancement (fixed)

Resize mapframe1 before loading WMS maps

Reported by: arnulf Owned by: christoph
Priority: major Milestone: 2.5 release
Component: core Version: 2.4.5
Keywords: resize, load WMS Cc: arnulf

Description

When a Mapbender application is loaded mapframe1 requests the default WMS. After loading the WMS resizeMapsize (mod_resize_mapsize.php) will adjust the size of the mapframe1.

Change this so that mapframe1 is adjusted to the screen size *before* making the first request.

Change History (1)

comment:1 Changed 11 years ago by christoph

Resolution: fixed
Status: newclosed

fixed in 2.5

the resize function had previously been called automatically after 3 seconds...now it is registered with eventInit.

wait for 2.5 or download this

http://trac.osgeo.org/mapbender/browser/branches/2.5/http/javascripts/mod_resize_mapsize.php?format=raw&rev=2365

Note: See TracTickets for help on using tickets.