[Users] select features and featureStore
Steven M. Ottens
steven at minst.net
Tue Jun 16 16:18:40 CEST 2009
On Jun 16, 2009, at 3:50 PM, Eric Lemoine wrote:
> On Tue, Jun 16, 2009 at 3:30 PM, Steven M. Ottens<steven at minst.net>
> wrote:
>> Hi all,
>
> Hi Steven
>
>>
>> Is it possible to select a feature in the featureStore and highlight
>> that feature on the map and vice versa; select a feature on the map
>> and highlight it in the store.
>
> We have a ticket and patch for this.
> <http://www.geoext.org/trac/geoext/ticket/77>. The patch is ready for
> review and will probably be committed after 0.5. With the patch
> applied just add sm:new GeoExt.grid.FeatureSelectionModel() to your
> grid config.
Thanks, it works.
I noticed that there is a difference in selection-behavior between
the features in the grid and on the map, is that intentionally?
I f you click on a feature on the map it is added to the list of
selected features.
Whereas if you click on a feature in the grid you start a new
selection of features.
Also it is not possible to empty the list of selected features in the
grid, it is only possible by clicking outside a feature on the map.
Also if you use shift-click in the grid it selects a row of features,
whereas on the map it just adds another feature to the selection
list. I do realize that it is a bit hard to decide what the features
between the first and last selected features are on a map, so I don't
think it is a real issue.
You can see it at http://research.geodan.nl/esdin/ as long as I don't
accidently break it ;).
Steven
>
> 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