constructor()

in src/lib/components/molecules/canvas-map/lib/renderers/MapRenderer.js [14:30]


  constructor(map) {
    this.map = map

    const container = map.viewPort

    if (container) {
      this._element = document.createElement("div")
      this._element.className = "gv-layer-container"
      const style = this._element.style
      style.position = "absolute"
      style.width = "100%"
      style.height = "100%"
      style.zIndex = "0"

      container.insertBefore(this._element, container.firstChild || null)
    }
  }