<div>Hi guys! Any news about supporting sublayers?</div>
<div> </div>
<div>Thanks</div>
<div><br><br> </div>
<div class="gmail_quote">On Mon, Jul 20, 2009 at 4:04 PM, Andreas Hocevar <span dir="ltr"><<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">Paul james wrote:<br>> Hi Andreas...<br>><br>> In my case I need :<br>> - Possibility to create a custom treeview (like model in mapfish)<br><br></div>Is already possible (using just an Ext.TreePanel configuration, with<br>
GeoExt node types).<br>
<div class="im"><br>> - Supporting sublayer (Layer.Mapserver), like Mapfish does<br><br></div>Will be possible, by managing anything that is expressed as URL param<br>with LayerParamsNode and LayerParamsLoader.<br>
<div class="im"><br>> - Possibility to add a Radio button in some nodes (with Checkbox)<br><br></div>Is already possible, see the tree.html example.<br>
<div class="im"><br>> - Possibility to takeoff all icons (mapfish stay with a ugly white<br>> space when I dont use a icon)<br><br></div>Is already possible, with the following css:<br>.x-tree-node-icon {<br> width: 0px;<br>
}<br><br>Regards,<br>Andreas.<br>
<div class="im"><br>><br>> Thanks<br>><br>> Paul<br>><br>> On Fri, Jul 17, 2009 at 6:02 AM, Andreas Hocevar <<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a><br></div>
<div>
<div></div>
<div class="h5">> <mailto:<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>>> wrote:<br>><br>> Hey Paul,<br>><br>> sorry for the delayed reply. The difference between the layer tree<br>
> approach in Mapfish and GeoExt is that the former uses a model on<br>> the tree level for custom trees, and the latter lets you use the a<br>> plain Ext configuration for the tree, because you have a choice of<br>
> different node types for representing layers.<br>><br>> The layer tree that you see in<br>> <a href="http://demo.mapfish.org/mapfishsample/1.1/examples/tree/tree_automatic.html" target="_blank">http://demo.mapfish.org/mapfishsample/1.1/examples/tree/tree_automatic.html</a><br>
> will be possible in GeoExt, with this configuration:<br>><br>> var tree = new Ext.tree.TreePanel({<br>> root: new GeoExt.tree.LayerContainer({<br>> defaults: {<br>> loader: new GeoExt.tree.LayerParamsLoader({<br>
> param: "LAYERS"<br>> })<br>> }<br>> }),<br>> ...<br>> });<br>><br>> This does not work yet, but as Eric said, there is work going on<br>
> to make it happen. We are currently switching to loaders, like<br>> Ext.tree.TreeLoader, for populating LayerContainers (ticket #122).<br>> The next steps will be:<br>><br>> * Resurrect the LayerParamsNode (known from a previous patch for<br>
> #22). This can do more than just change the layers param on WMS<br>> layers. It can also be used e.g. to use CQL_FILTER and any<br>> arbitrary params that OpenLayers layers take in the params object.<br>
><br>> * Create a loader that looks up a params name (e.g. LAYERS) as<br>> argument and will create one subnode for every param it finds. To<br>> make this even smarter, the loader could process additional<br>
> information from the LayerStore, e.g. titles for the node texts.<br>><br>> Please give feedback if this makes sense for your use case.<br>><br>> Regards,<br>> Andreas.<br>><br>> james wrote:<br>
><br>> Thank guys...<br>> And how about a "custom" treeview ? Like 'model' in mapfish...<br>><br>> Paul<br>><br>> On Mon, Jul 13, 2009 at 12:56 PM, Eric Lemoine<br>
> <<a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br>> <mailto:<a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a>><br></div></div>> <mailto:<a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br>
<div class="im">> <mailto:<a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a>>>> wrote:<br>><br>> On Monday, July 13, 2009, Paul james <<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a><br>
> <mailto:<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a>><br></div>
<div class="im">> <mailto:<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a> <mailto:<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a>>>> wrote:<br>> > Hello Guys...<br>
> ><br>> > Using Mapfish with Mapserver layer, my treeview can turn<br>> on/off<br>> layers individually...<br>> > Example :<br>><br>> <a href="http://demo.mapfish.org/mapfishsample/1.1/examples/tree/tree_automatic.html" target="_blank">http://demo.mapfish.org/mapfishsample/1.1/examples/tree/tree_automatic.html</a><br>
> > Example, I can turn parkings and summits, but just 1 layer is<br>> generated with both...<br>> ><br>> > Is it posible to do that using only GeoExt?<br>><br>
> turning on and off sublayers (i.e. layers in a Layer.WMS<br>> instance)<br>> isn't supported by GeoExt.tree at that time. But some work<br>> has been<br>> started... Maybe Andreas can say more about this work.<br>
><br>> Cheers,<br>><br>> ><br>> > Paul<br>> ><br>> ><br>><br>> --<br>> Eric Lemoine<br>><br>> Camptocamp France SAS<br>
> Savoie Technolac, BP 352<br>> 73377 Le Bourget du Lac, Cedex<br>><br>> Tel : 00 33 4 79 44 44 96<br>> Mail : <a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br>
> <mailto:<a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a>><br></div>> <mailto:<a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br>
<div class="im">> <mailto:<a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a>>><br>> <a href="http://www.camptocamp.com/" target="_blank">http://www.camptocamp.com</a><br>
><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> Users mailing list<br></div>> <a href="mailto:Users@geoext.org">Users@geoext.org</a> <mailto:<a href="mailto:Users@geoext.org">Users@geoext.org</a>><br>
<div>
<div></div>
<div class="h5">> <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>><br>><br>><br>> --<br>> Andreas Hocevar<br>
> OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>> Expert service straight from the developers.<br>><br>><br><br><br>--<br>Andreas Hocevar<br>OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br><br></div></div></blockquote></div><br>