public void ConfigureMapView(IMapView2D mapView) { mapView.ViewSize = OutputSize; if (RealWorldBounds == null) mapView.ZoomToExtents(); else mapView.ZoomToWorldBounds(RealWorldBounds); }
public void ConfigureMapView(IMapView2D mapView) { mapView.ViewSize = OutputSize; if (RealWorldBounds == null) { mapView.ZoomToExtents(); } else { mapView.ZoomToWorldBounds(RealWorldBounds); } }
public void ConfigureMapView(IMapView2D mapView) { mapView.ViewSize = OutputSize; mapView.BackgroundColor = BackgroundColor; mapView.ZoomToWorldBounds(RealWorldBounds); }