<div dir="ltr">Hi <span style="font-family:arial,sans-serif;font-size:13px">Ceyhun,</span><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-size:13px;font-family:arial,sans-serif">You can find here </span><font face="arial, sans-serif"><a href="http://heron-mc.org/">http://heron-mc.org/</a> every information, or join the google group: <a href="https://groups.google.com/forum/?hl=en#!forum/geoext-viewer-devel">https://groups.google.com/forum/?hl=en#!forum/geoext-viewer-devel</a> </font><br>
</div><div><font face="arial, sans-serif">Bests,</font></div><div><font face="arial, sans-serif">Zsolt</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-09-04 15:23 GMT+02:00 Hari Pradhan <span dir="ltr"><<a href="mailto:starling.lucky@gmail.com" target="_blank">starling.lucky@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Ceyhun,<div><br></div><div>Can you try the code below? It worked for me.</div><div><br></div><div><div>
// Resize map view panel when window is resized.</div><div> Ext.EventManager.onWindowResize(function () {</div>
<div> var height = Ext.getBody().getViewSize().height - 80;</div><div> var width = Ext.getBody().getViewSize().width;</div><div> yourPanel.setSize(width, height);</div><div> });</div>
</div><div><br></div><div>Thanks,</div><div>Hari</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 4, 2014 at 8:13 AM, Ceyhun Ganioglu <span dir="ltr"><<a href="mailto:ceyhunganioglu@gmail.com" target="_blank">ceyhunganioglu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<font face="Arial">Hi Zsolt,<br>
<br>
I saw it in some mailing lists and forums while searching on the
internet. I had no chance to have a look. Anyway spent some time
trying to learn some geoext, openlayers and ext. If this Heron
thing does not have very detailed documentation which makes
everything easy feven for beginners, no need to waste some more
time. <br>
<br>
Otherwise I can have a look at it.<br>
<br>
Regards<br>
<br>
<br>
</font>
<div>04.09.2014 16:09 tarihinde, Zsolt
Magyar yazdı:<br>
</div><div><div>
<blockquote type="cite">
<div dir="ltr">Hi Guys,
<div><br>
</div>
<div>Do you know Heron Mapping JavaScript library? </div>
<div>It is a very good solution to make own webmap app. an easy
way!</div>
<div>Have a Nice Work with it!</div>
<div><br>
</div>
<div>
Regards:</div>
<div>Zsolt Magyar</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-09-04 14:03 GMT+02:00 Ceyhun
Ganioglu <span dir="ltr"><<a href="mailto:ceyhunganioglu@gmail.com" target="_blank">ceyhunganioglu@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <font face="Arial">Hi
Marc,<br>
<br>
Yes you are right. MapPanel perfectly resized. But now
I can not do the same resize for the LayerTree panel.
Container division does not make the same effect to
it.<br>
<br>
And another thing is I am trying to run a
map.updateSize(); in the "onresize" Javascript file.
It does not make any map updates <br>
<br>
Regards<br>
<br>
<br>
</font>
<div>04.09.2014 14:17 tarihinde, Marc Jansen yazdı:<br>
</div>
<div>
<div>
<blockquote type="cite">
<div>Hey Ceyhun,<br>
<br>
if I remember correctly: yes.<br>
<br>
Best,<br>
Marc<br>
<br>
<br>
<br>
On 04.09.2014 13:05, Ceyhun Ganioglu wrote:<br>
</div>
<blockquote type="cite"> <font face="Arial">Hey,<br>
<br>
So basicly, if I don't give any sizes to the
Mappanel and resize the container division
onresize mappanel will automatically resize.
Right?<br>
<br>
Regards<br>
<br>
<br>
</font>
<div>04.09.2014 14:03 tarihinde, Marc Jansen
yazdı:<br>
</div>
<blockquote type="cite">
<div>Hey,<br>
<br>
I think this is because you use absolute
values for width and height of the mappanel.
When the browsers dimensions change, your
panels dimensions won't. If you have the
MapPanel in a layout that reacts on changes
to the browser dimensions, everything should
work.<br>
<br>
Best,<br>
Marc<br>
<br>
<br>
On 04.09.2014 12:56, Ceyhun Ganioglu wrote:<br>
</div>
<blockquote type="cite"> <font face="Arial">Hi
Marc,<br>
<br>
Thanks for your email. Here is my code:<br>
<br>
<a href="http://tny.cz/d6cde4a2" target="_blank">http://tny.cz/d6cde4a2</a><br>
<br>
When I resize the browser mappanel size
does not change accordingly. That's why I
am trying to do it with onresize <br>
<br>
Many thanks<br>
<br>
</font>
<div>04.09.2014 13:50 tarihinde, Marc Jansen
yazdı:<br>
</div>
<blockquote type="cite">
<div>Hey Ceyhan,<br>
<br>
usually you don't need to update the
size manually, as GeoExt should register
appropriate eventlisteners already. Can
you share code.<br>
<br>
Best,<br>
Marc<br>
<br>
<br>
On 03.09.2014 15:35, Ceyhun Ganioglu
wrote:<br>
</div>
<blockquote type="cite">
<p dir="ltr">Hi, </p>
<p dir="ltr">I am trying to change
mappanel width and height on resize of
the browser and call map.updateSize
function</p>
<p dir="ltr">Can anybody send me a
simple example piece of code or tell
me how to do it in a "for dummies"
way? Many thanks</p>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@geoext.org" target="_blank">Users@geoext.org</a>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org" target="_blank">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org" target="_blank">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>