[Users] GetFeature Popup [Sec=Unclassified]
Eric Lemoine
eric.lemoine at camptocamp.com
Mon Nov 16 07:34:55 CET 2009
> Oh, well I sort of get it. I mean I can put the attributes in using regular HTML, but I'm still not quite sure about using a GridPanel with the FeatureStore.
>
> The demo shows setting up both the FeatureStore and GridPanel with attributes 'name' and 'elevation'. So I can get that to work if I choose two attributes from one of my layers. But what if I wanted to use the same piece of code to display the attributes for whatever feature type is being clicked? Is that possible perhaps by using a describeFeatureType request, or would I have to hard-code the attributes that I want to be displayed?
(sorry for the delayed response)
for a project I've been working on we create a new feature store and
reset the grid when switching from one feature type to another. We
don't actually use DescribeFeatureType but rely on what's found in the
first read feature. I can provide some code if you think that could be
useful to you.
Cheers,
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
More information about the Users
mailing list