BoundsMapView の例 - Java
BoundsMapView オブジェクトを返す Java の例を以下に示します。
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;
}