redrawText() {
    const layerStates = this.getLayerGroup().getLayerStatesArray();
    for (let i = 0, ii = layerStates.length; i < ii; ++i) {
      const layer = layerStates[i].layer;
      if (layer.hasRenderer()) {
        layer.getRenderer().handleFontsChanged();
      }
    }
  }
/**
   * Redraws all text after new fonts have loaded
   */
Redraws all text after new fonts have loaded
Redraws all text after new fonts have loaded
redrawText() {
    const layerStates = this.getLayerGroup().getLayerStatesArray();
    for (let i = 0, ii = layerStates.length; i < ii; ++i) {
      const layer = layerStates[i].layer;
      if (layer.hasRenderer()) {
        layer.getRenderer().handleFontsChanged();
      }
    }
  }
redrawText ( ) { const layerStates = this . getLayerGroup ( ) . getLayerStatesArray ( ) ; for ( let i = 0 , ii = layerStates . length ; i < ii ; ++ i ) { const layer = layerStates [ i ] . layer ; if ( layer . hasRenderer ( ) ) { layer . getRenderer ( ) . handleFontsChanged ( ) ; } } }
Redraws all text after new fonts have loaded
Redraws all text after new fonts have loaded