code: @Api
  	public void setDrawTargetMaxExtent(boolean drawTargetMaxExtent) {
  		this.drawTargetMaxExtent = drawTargetMaxExtent;
  
  		// Immediately draw or remove the max extent rectangle:
  		if (drawTargetMaxExtent) {
  			targetMaxExtentRectangle = new GfxGeometry("targetMaxExtentRectangle");
  			targetMaxExtentRectangle.setStyle(targetMaxExtentRectangleStyle);
  
  			Bbox targetMaxExtent = getOverviewMaxBounds();
  
  			Bbox box = getMapModel().getMapView().getWorldViewTransformer().worldToView(targetMaxExtent);
  			LinearRing shell = getMapModel().getGeometryFactory().createLinearRing(
  					new Coordinate[] { new Coordinate(-2, -2), new Coordinate(getWidth() + 2, -2),
  							new Coordinate(getWidth() + 2, getHeight() + 2), new Coordinate(-2, getHeight() + 2) });
  			LinearRing hole = getMapModel().getGeometryFactory().createLinearRing(
  					new Coordinate[] { new Coordinate(box.getX(), box.getY()),
  							new Coordinate(box.getMaxX(), box.getY()), new Coordinate(box.getMaxX(), box.getMaxY()),
  							new Coordinate(box.getX(), box.getMaxY()) });
  			Polygon polygon = getMapModel().getGeometryFactory().createPolygon(shell, new LinearRing[] { hole });
  			targetMaxExtentRectangle.setGeometry(polygon);
  			render(targetMaxExtentRectangle, RenderGroup.SCREEN, RenderStatus.ALL);
  		} else {
  			render(targetMaxExtentRectangle, RenderGroup.SCREEN, RenderStatus.DELETE);
  			targetMaxExtentRectangle = null;
  		}
  	}
docs: Determine whether or not a rectangle that shows the target map's maximum extent should be shown.
  
  @param drawTargetMaxExtent
  should the max extent be marked on the map?
  @since 1.8.0