initResources method

Future<void> initResources(
  1. SymbolCache symbolCache
)

Implementation

Future<void> initResources(SymbolCache symbolCache) async {
  if (scaled == null) {
    scaled = ShapeSymbol.scale(base, 0);
    _lastZoom = 0;
    shapePaint = ShapePaintSymbol(scaled!);
    await shapePaint.init(symbolCache);
  }
}