<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<div class="moz-cite-prefix">On 15.06.2018 15:06, Jakob Miksch
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:be2f85d8-76c0-63c0-c17b-7cc584a677dc@sbg.ac.at">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Thanks for the link. I am actually getting started with Ext JS and
GeoExt at the same time. (maybe this is a bad idea ... ).
Understanding the BasiGX components is still a bit unclear to me.
And the web apps I mentioned earlier are very complex and hence
also hard to understand. <br>
<br>
The examples on <a class="moz-txt-link-freetext"
href="http://geoext.org/" moz-do-not-send="true">http://geoext.org/</a>
are nice and easy to understand, but I find it challenging to
convert the single file into the proper folder structure of Ext. <br>
</blockquote>
<p><font face="Helvetica, Arial, sans-serif">you are right, that
there are not so many example apps available, which use the </font>MVC
/ MVVM pattern. Most of the examples are simple single-file
demo-apps (like on the GeoExt website). Maybe a simple MVC / MVVM
app would be cool and we had that for previous GeoExt versions:</p>
<p><a class="moz-txt-link-freetext"
href="https://github.com/geoext/geoext2/tree/master/examples/app/simple">https://github.com/geoext/geoext2/tree/master/examples/app/simple</a></p>
<p><a class="moz-txt-link-freetext"
href="https://github.com/geoext/geoext2/tree/master/examples/app-mvvm">https://github.com/geoext/geoext2/tree/master/examples/app-mvvm</a></p>
<br>
<blockquote type="cite"
cite="mid:be2f85d8-76c0-63c0-c17b-7cc584a677dc@sbg.ac.at"> <br>
At the moment I am trying to build a pretty standard web mapping
application with a main map, an overview map and a layer switcher.
The overview map works, but I struggle to build the layer
switcher, because I do not figure out how to access the layers
from map. This is what I did so far: <a
class="moz-txt-link-freetext"
href="https://github.com/JakobMiksch/HelloGeoExt"
moz-do-not-send="true">https://github.com/JakobMiksch/HelloGeoExt</a><br>
</blockquote>
<br>
Maybe we can use your "HelloWorld" app as example reference for MVC
/ MVVM app setup.<br>
<br>
<blockquote type="cite"
cite="mid:be2f85d8-76c0-63c0-c17b-7cc584a677dc@sbg.ac.at"> <br>
Not sure if this is a general Ext question:<br>
But what is the "best practice" way to exchange the map and its
layers between the different components?<br>
</blockquote>
<br>
<br>
You can pass in the map or better a MapComponent, like
<a class="moz-txt-link-freetext"
href="https://github.com/JakobMiksch/HelloGeoExt/blob/master/app/view/main/Map.js">https://github.com/JakobMiksch/HelloGeoExt/blob/master/app/view/main/Map.js</a>,
as config property of your own component. ExtJS will handle it like
a member variable in your instance.<br>
If that is not possible for your whatever reason you can query
arbitrary component instances with Ext.ComponentQuery.query
(<a class="moz-txt-link-freetext"
href="https://geoext.github.io/geoext3/master/docs-w-ext/#%21/api/Ext.ComponentQuery">https://geoext.github.io/geoext3/master/docs-w-ext/#!/api/Ext.ComponentQuery</a>).
So a <br>
<br>
Ext.ComponentQuery.query('mappanel') <br>
<br>
might be a helpful command. Even I like it more to pass over
dependencies as config.<br>
<br>
Cheers<br>
Chris<br>
<br>
<blockquote type="cite"
cite="mid:be2f85d8-76c0-63c0-c17b-7cc584a677dc@sbg.ac.at"> <br>
Is there any rather simple GeoExt based app that I could use a
template?<br>
<br>
Cheers and have a nice weekend,<br>
Jakob<br>
<br>
<div class="moz-cite-prefix">Am 13.06.2018 um 10:30 schrieb Seth
G:<br>
</div>
<blockquote type="cite"
cite="mid:1528878607.2795906.1406373720.084CE3EA@webmail.messagingengine.com">
<pre wrap="">Hi Jakob,
<a class="moz-txt-link-freetext" href="https://github.com/terrestris/BasiGX" moz-do-not-send="true">https://github.com/terrestris/BasiGX</a> has a good collcetion of tools and utilities.
Seth
--
web:<a class="moz-txt-link-freetext" href="http://geographika.co.uk" moz-do-not-send="true">http://geographika.co.uk</a>
twitter: @geographika
On Wed, Jun 13, 2018, at 9:39 AM, Jakob Miksch wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Dear list,
I am getting into Ext and GeoExt and I am looking for examples where I
could learn from. I already found these:
<a class="moz-txt-link-freetext" href="https://github.com/terrestris/shogun2-client" moz-do-not-send="true">https://github.com/terrestris/shogun2-client</a>
<a class="moz-txt-link-freetext" href="https://github.com/OpenBfS/gis-client" moz-do-not-send="true">https://github.com/OpenBfS/gis-client</a>
and of course the tutorials:
<a class="moz-txt-link-freetext" href="https://github.com/geoext/geoext3-ws" moz-do-not-send="true">https://github.com/geoext/geoext3-ws</a>
<a class="moz-txt-link-freetext" href="https://github.com/geoext/geoext3/blob/master/universal-app.md" moz-do-not-send="true">https://github.com/geoext/geoext3/blob/master/universal-app.md</a>
Could you point me to any other existing projects with GeoExt?
kind regards,
Jakob
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org" moz-do-not-send="true">Users@geoext.org</a>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" moz-do-not-send="true">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org" moz-do-not-send="true">Users@geoext.org</a>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" moz-do-not-send="true">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<div class="moz-signature"><font font-family="Verdana,sans-serif"
color="gray" size="1"><br>
</font> </div>
<!--'"--><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>