featureLayer.getUserData().put(USERDATA_KEY_SHOWING, extraInfo.isShowing());
List<Rule> rules = new ArrayList<Rule>();
double scaleDenominator = RendererUtilities.calculateOGCScale(mapContext.getAreaOfInterest(), (int) mapContext
.getViewport().getScreenArea().getWidth(), null);
// find the applicable rules
for (FeatureTypeStyle fts : style.featureTypeStyles()) {
for (Rule rule : fts.rules()) {
if (isWithInScale(rule, scaleDenominator)) {
FeatureIterator<SimpleFeature> it;
try {
it = featureLayer.getSimpleFeatureSource().getFeatures().features();