forZoomlevel method
Creates a zoom level specific copy of this symbol instruction.
Applies zoom level dependent scaling to bitmap properties while preserving symbol identity, positioning, and rotation settings.
zoomlevel Target zoom level for scaling calculations
Returns a new scaled symbol instruction
Implementation
@override
RenderinstructionSymbol forZoomlevel(int zoomlevel, int level) {
RenderinstructionSymbol renderinstruction = RenderinstructionSymbol(level)
..renderinstructionScale(this, zoomlevel)
..baseSrcMixinScale(this, zoomlevel)
..bitmapSrcMixinScale(this, zoomlevel);
renderinstruction.id = id;
renderinstruction.positioning = positioning;
renderinstruction.theta = theta;
renderinstruction.rotateWithMap = rotateWithMap;
return renderinstruction;
}