forZoomlevel method
Creates a copy of itself with the data needed for the given zoomlevel. Note that this should only be called from Rendertheme and NOT from RenderthemeZoomlevel
Implementation
@override
RenderinstructionLinesymbol forZoomlevel(int zoomlevel, int level) {
RenderinstructionLinesymbol renderinstruction = RenderinstructionLinesymbol(level)
..renderinstructionScale(this, zoomlevel)
..baseSrcMixinScale(this, zoomlevel)
..bitmapSrcMixinScale(this, zoomlevel)
..repeatSrcMixinScale(this, zoomlevel);
renderinstruction.position = position;
renderinstruction.alignCenter = alignCenter;
// we need the zoomlevel for calculating the position of the individual symbols
renderinstruction.zoomlevel = zoomlevel;
return renderinstruction;
}