getOpacity () {
    const opacity = this.group_.getAttribute('opacity')
    if (!opacity) {
      return 1
    }
    return Number.parseFloat(opacity)
  }
Get layer opacity.
@returns {Float} Opacity value.