[Users] symbolizer for feature highlight

percy percyd at pdx.edu
Wed Dec 8 15:43:40 CET 2010


I've read through a bunch of docs and API stuff, and can't figure out 
what seems to be obviously do-able.

I have a set of vectors (coming from geojson file) diplayed on a map, 
and in a FeatureStore, and linked via a GridPanel. Worked great, just 
like the example in the API.

Then I decided to symbolize the data using Rules and a StyleMap. That 
looks cool, and it gets me a nice VectorLegend, but I lose my HighLight 
from the FeatureSelectionModel.

Is there a simple way to get my polygons to highlight again, while still 
using the vector symbolizer? I'd hate to draw them a second time, that 
seems rude to the browser :-)

Here's the site: http://mkn.geos.pdx.edu/maps/index9.html

It's slow, cuz I haven't optimized it yet, though I'm only using a small 
subset for the data for testing.

Thanks,
Percy

-- 
David Percy
Geospatial Data Manager
Geology Department
Portland State University
http://gisgeek.pdx.edu
503-725-3373


More information about the Users mailing list