[Users] insert a map in a tree node
ivan marchesini
ivan.marchesini at gmail.com
Sun Aug 9 19:15:32 CEST 2009
Hi Eric..
many many thanks for your answers...
due to "holiday" reasons I will be abroad for same days...
I will try your suggestions in next week...
I hope these e-mails could be useful for others newbies like me... :-)
cheers
Ivan
Il giorno ven, 07/08/2009 alle 22.57 +0200, Eric Lemoine ha scritto:
> On Friday, August 7, 2009, ivan marchesini <ivan.marchesini at gmail.com> wrote:
> > Dear all geoext users,
> > I have created this page (a lot of you well know this page :-)
> >
> > http://alderaan.irpi.cnr.it/test_geoext/test_geoext9c.html
> >
> > I'm going to ask something about it...
> >
> > first of all:
> >
> > as you can see in the layer tree there are to folders (called "My Maps
> > 1" and "My Maps 2").
> > I have seen from tutorials that at the moment is not possible to filter
> > the gc_overlaylayercontainer to obtain only some maps to put inside a
> > folder.
> > what a need to do is to include only some maps into the "My Maps *"
> > folders...
> > the question is:
> > which is the code to insert openLayers layer into the tree node?
> > I cant figure haw to obtain this simple task .. sorry... :-(
> > I have tryed with GeoExt.tree.LayerNode but with no success...
> >
> >
> > second question:
> >
> > as you can see I have included the code to create a search form.
> > I see from the post answer that the query is right..
> > my next questions are:
> > is it possible to put the result of the query into the map? i.e. to see
> > only features resulting from the search?
> > is there any example/documentation I can look at to understand how to
> > obtain this...
>
>
> <http://geoext.org/lib/GeoExt/widgets/form/FormPanel.html>
>
> Register an actioncomplete listener on the form panel. The listener
> receives in its second argument a reference to the search action,
> which itself includes a reference to the OpenLayers.Protocol.Reponse
> instance associated with the request. Example:
>
> listeners: {
> actioncomplete: function(form, action) {
> var features = action.response.features;
> layer.addFeatures(features);
> }
> }
>
> Hope this helps,
>
>
> >
> > as you can understand the aims is to allow users to select the features
> > by means of attributes columns.....
> >
> >
> > many thanks...
> >
> > ivan
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Ti prego di cercare di non inviarmi files .dwg, .doc, .xls, .ppt.
> > Preferisco formati liberi.
> > Please try to avoid to send me .dwg, .doc, .xls, .ppt files.
> > I prefer free formats.
> > http://it.wikipedia.org/wiki/Formato_aperto
> > http://en.wikipedia.org/wiki/Open_format
> >
> > Ivan Marchesini
> > Perugia (Italy)
> > Socio fondatore GFOSS "Geospatial Free and Open Source Software" http://www.gfoss.it
> > e-mail: marchesini at unipg.it
> > ivan.marchesini at gmail.com
> > fax (home): +39(0)5782830887
> > jabber: geoivan73 at jabber.org
> > skype: geoivan73
> >
>
--
Ti prego di cercare di non inviarmi files .dwg, .doc, .xls, .ppt.
Preferisco formati liberi.
Please try to avoid to send me .dwg, .doc, .xls, .ppt files.
I prefer free formats.
http://it.wikipedia.org/wiki/Formato_aperto
http://en.wikipedia.org/wiki/Open_format
Ivan Marchesini
Perugia (Italy)
Socio fondatore GFOSS "Geospatial Free and Open Source Software" http://www.gfoss.it
e-mail: marchesini at unipg.it
ivan.marchesini at gmail.com
fax (home): +39(0)5782830887
jabber: geoivan73 at jabber.org
skype: geoivan73
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio
firmata digitalmente
Url : http://www.geoext.org/pipermail/users/attachments/20090809/a0c89f3f/attachment.pgp
More information about the Users
mailing list