60 |
import org.apache.log4j.Logger; |
import org.apache.log4j.Logger; |
61 |
import org.geotools.feature.FeatureCollection; |
import org.geotools.feature.FeatureCollection; |
62 |
import org.geotools.filter.IllegalFilterException; |
import org.geotools.filter.IllegalFilterException; |
|
import org.geotools.gui.swing.event.HighlightChangeListener; |
|
|
import org.geotools.gui.swing.event.HighlightChangedEvent; |
|
|
import org.geotools.gui.swing.event.SelectionChangeListener; |
|
|
import org.geotools.gui.swing.event.SelectionChangedEvent; |
|
63 |
import org.geotools.map.DefaultMapContext; |
import org.geotools.map.DefaultMapContext; |
64 |
import org.geotools.map.MapContext; |
import org.geotools.map.MapContext; |
65 |
import org.geotools.map.MapLayer; |
import org.geotools.map.MapLayer; |
725 |
*/ |
*/ |
726 |
|
|
727 |
/* |
/* |
728 |
* Iterator fi = fc.iterator(); while (fi.hasNext()) { Feature feat |
* Iterator fi = fc.iterator(); while (fi.hasNext()) { SimpleFeature feat |
729 |
* = (Feature) fi.next(); System.out.println("selected " + |
* = (SimpleFeature) fi.next(); System.out.println("selected " + |
730 |
* feat.getAttribute("STATE_NAME")); } |
* feat.getAttribute("STATE_NAME")); } |
731 |
*/ |
*/ |
732 |
} catch (final IllegalFilterException e) { |
} catch (final IllegalFilterException e) { |