}
private FeatureLayer createOrignalMapExtentLayer(final Geometry mapExtent,
final MapAttribute.OverriddenMapAttributeValues mapParams, final String style,
final CoordinateReferenceSystem crs) throws IOException {
FeatureLayerParam layerParams = new FeatureLayerParam();
layerParams.style = style;
layerParams.defaultStyle = Constants.Style.OverviewMap.NAME;
// TODO make this configurable?
layerParams.renderAsSvg = null;
layerParams.features = wrapIntoFeatureCollection(mapExtent, crs);