Context with centering

This commit is contained in:
ziajka 2018-03-15 10:33:56 +01:00
parent e785790cf5
commit f7ec7ea7df

View File

@ -83,7 +83,7 @@ export class MapComponent implements OnInit, OnChanges, OnDestroy {
this.svg = rootElement.select<SVGSVGElement>('svg');
this.graphContext = new Context();
this.graphContext = new Context(true);
if (this.windowFullSize) {
this.graphContext.setSize(this.getSize());