Beispiel für BoundsMapView – Java
Im Folgenden wird ein Java-Beispiel dargestellt, in dem ein BoundsMapView-Objekt zurückgegeben wird.
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;
}