public Feature [ ] getSelectedFeatures ( ) { Collection < org . geomajas . gwt . client . map . feature . Feature > selection = getLayer ( ) . getSelectedFeatureValues ( ) ; Feature [ ] features = new Feature [ selection . size ( ) ] ; int count = 0 ; for ( org . geomajas . gwt . client . map . feature . Feature feature : selection ) { features [ count ] = new FeatureImpl ( feature . toDto ( ) , this ) ; count ++ ; } return features ; }
Get the full list of currently selected features within this layer .