[Users] How to change mappanel width and height dynamically

Ceyhun Ganioglu ceyhunganioglu at gmail.com
Thu Sep 4 12:56:37 CEST 2014


Hi Marc,

Thanks for your email. Here is my code:

http://tny.cz/d6cde4a2

When I resize the browser mappanel size does not change accordingly. 
That's why I am trying to do it with onresize

Many thanks

04.09.2014 13:50 tarihinde, Marc Jansen yazd?:
> Hey Ceyhan,
>
> usually you don't need to update the size manually, as GeoExt should 
> register appropriate eventlisteners already. Can you share code.
>
> Best,
> Marc
>
>
> On 03.09.2014 15:35, Ceyhun Ganioglu wrote:
>>
>> Hi,
>>
>> I am trying to change mappanel width and height on resize of the 
>> browser and call map.updateSize function
>>
>> Can anybody send me a simple example piece of code or tell me how to 
>> do it in a "for dummies" way? Many thanks
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at geoext.org
>> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>
> -- 
>
>    Dipl.-Geogr. Marc Jansen
>    --- Anwendungsentwickler ---
>
>    terrestris GmbH & Co. KG
>    Pützchens Chaussee 56
>    53227 Bonn
>
>    Tel:   +49 (0)228 / 96 28 99 -53
>    Fax:   +49 (0)228 / 96 28 99 -57
>
>    Email:jansen at terrestris.de
>    Web:http://www.terrestris.de
>
>    Amtsgericht Bonn, HRA 6835, Komplementärin: terrestris Verwaltungs-
>    gesellschaft mbH, vertreten durch: Hinrich Paulsen, Till Adams
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20140904/0d9a754f/attachment.htm 


More information about the Users mailing list