changeZoomlevel method
Future<void>
changeZoomlevel(
- int zoomlevel,
- PixelProjection projection
)
override
Implementation
@override
Future<void> changeZoomlevel(int zoomlevel, PixelProjection projection) async {
//renderInfo?.shapePainter?.dispose();
RenderinstructionCaption renderinstructionZoomed = renderinstructionsZoomed.putIfAbsent(zoomlevel, () => renderinstruction.forZoomlevel(zoomlevel, 0));
NodeProperties nodeProperties = NodeProperties(PointOfInterest.simple(latLong), projection);
renderInfo = RenderInfoNode(nodeProperties, renderinstructionZoomed, caption: caption);
await PainterFactory().getOrCreateShapePainter(renderInfo!);
}