init method
Initializes the shape painter by loading the symbol from the cache.
Implementation
Future<void> init() async {
try {
symbolImage =
await SymbolCacheMgr().getOrCreateSymbol(renderinstruction.bitmapSrc!, renderinstruction.getBitmapWidth(), renderinstruction.getBitmapHeight())
?..clone();
} catch (error) {
_log.warning("Error loading bitmap ${renderinstruction.bitmapSrc}", error);
}
}