BoundsMapView Example - Java
A continuación, se muestra un ejemplo Java que arroja un objeto BoundsMapView.
public static BoundsMapView getBoundsMapView() throws Exception
{
BoundsMapView boundsMapView = new BoundsMapView();
boundsMapView.setHeight(600);
boundsMapView.setWidth(800);
boundsMapView.setUnit(PaperUnit.PIXEL);
//sets the map resolution. If not specified, the default one is set to 96 DPI
//boundsMapView.setMapResolution(200);
boundsMapView.setBounds(BuildGeometry.buildEnvelope());
return boundsMapView;
}