forZoomlevel method
Creates a zoom level specific copy of this polyline instruction.
Applies zoom level dependent scaling to all rendering properties including stroke width, bitmap patterns, and other styling parameters.
zoomlevel Target zoom level for scaling calculations
Returns a new scaled polyline instruction
Implementation
@override
RenderinstructionPolyline forZoomlevel(int zoomlevel, int level) {
RenderinstructionPolyline renderinstruction = RenderinstructionPolyline(level)
..renderinstructionScale(this, zoomlevel)
..baseSrcMixinScale(this, zoomlevel)
..bitmapSrcMixinScale(this, zoomlevel)
..strokeSrcMixinScale(this, zoomlevel);
renderinstruction.id = id;
return renderinstruction;
}