public RendererJob(Tile tile, MapDataStore mapFile, RenderThemeFuture renderThemeFuture, DisplayModel displayModel, float textScale, bool isTransparent, bool labelsOnly) : base(tile, isTransparent) { if (mapFile == null) { throw new System.ArgumentException("mapFile must not be null"); } else if (textScale <= 0 || float.IsNaN(textScale)) { throw new System.ArgumentException("invalid textScale: " + textScale); } this.labelsOnly = labelsOnly; this.displayModel = displayModel; this.mapDataStore = mapFile; this.renderThemeFuture = renderThemeFuture; this.textScale = textScale; this.hashCodeValue = CalculateHashCode(); }
protected internal virtual void CompileRenderTheme() { this.renderThemeFuture = new RenderThemeFuture(this.graphicFactory, this.xmlRenderTheme, this.displayModel); }