{{#if this._loader.isLoaded}}
{{yield
(hash
instance=this._loader.map
cache=this.shouldCache
on=(helper MapboxGlOn eventSource=this._loader.map)
terrain=(helper MapboxGlTerrain map=this._loader.map)
control=(helper
MapboxGlControl map=this._loader.map cache=this.shouldCache
)
source=(component
MapboxGlSource
map=this._loader.map
cacheKey=this.cacheKey
cache=this.shouldCache
)
layer=(component
MapboxGlLayer
map=this._loader.map
cacheKey=this.cacheKey
cache=this.shouldCache
)
marker=(component
MapboxGlMarker map=this._loader.map MapboxGl=this._loader.MapboxGl
)
popup=(component
MapboxGlPopup map=this._loader.map MapboxGl=this._loader.MapboxGl
)
)
}}
{{else if this._loader.error}}
{{#if (has-block "inverse")}}
{{yield this._loader.error to="inverse"}}
{{else}}
{{! template-lint-disable no-log }}
{{log "error rendering mapbox-gl" this._loader.error}}
{{/if}}
{{/if}}
}