[Users] Bls: linked grid and map
Percy
percyd at pdx.edu
Tue Dec 14 01:50:12 CET 2010
Oh, that's a very nice solution, I just have to pass a centroid for each
polygon in my geojson file, thanks so much!
Saha Aswina wrote:
> 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
Geology Department
Portland State University
http://gisgeek.pdx.edu
503-725-3373
More information about the Users
mailing list