if (areaOfInterest != null && areaOfInterest.display == AreaOfInterest.AoiDisplay.RENDER) {
FeatureLayer.FeatureLayerParam param = new FeatureLayer.FeatureLayerParam();
param.defaultStyle = Constants.Style.OverviewMap.NAME;
param.style = areaOfInterest.style;
param.renderAsSvg = areaOfInterest.renderAsSvg;
param.features = areaOfInterest.areaToFeatureCollection(mapValues);
final FeatureLayer featureLayer = this.featureLayerPlugin.parse(mapValues.getTemplate(), param);
layers.add(featureLayer);
}
return areaOfInterest;