[Users] Bls: linked grid and map

Saha Aswina sahaaswina at yahoo.com
Tue Dec 14 01:41:09 CET 2010


check here http://ian01.geog.psu.edu/geoserver_docs/apps/gaz/together.html for 
selection function and
next page http://ian01.geog.psu.edu/geoserver_docs/apps/gaz/finishing.html for 
zoom function


----- Pesan Asli ----
Dari: percy <percyd at pdx.edu>
Kepada: users at geoext.org
Terkirim: Sel, 14 Desember, 2010 04:24:00
Judul: [Users] linked grid and map

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

_______________________________________________
Users mailing list
Users at geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users





More information about the Users mailing list