[Users] linked grid and map
percy
percyd at pdx.edu
Mon Dec 13 21:24:00 CET 2010
Hi,
I'm using a featurestore to populate a grid and map [1], with the
GeoExt.grid.FeatureSelectionModel linking the two so that when the user
clicks on a polygon feature the grid hilights the corresponding row, and
scolls to it.
This works great!
Is there a simple way to get the reverse functionality in the map so
that when a row is clicked it hilights the map feature (it does that
now, of course), and ZOOMS to it?
It seems like it might be through the onSelect property of
OpenLayers.Control.SelectFeature...
Thanks again for a great project and all of the awesome tutorials and
documentation!
Cheers,
Percy
[1] http://mkn.geos.pdx.edu/maps/poverty_acs2010/
--
David Percy
Geospatial Data Manager
Institute for Metropolitan Studies&
Geology Department
Portland State University
http://gisgeek.pdx.edu
503-725-3373
More information about the Users
mailing list