Class: LayerLoadingIndicatorView

LayerLoadingIndicatorView()

A small progress row (an animated bar plus a text message) that communicates map layer loading progress. This view is purely presentational: it has no concept of timing or delays, it only ever renders whatever message it is given. The animation used to reveal/hide this view is owned by the parent MapStatusBarView.

Screenshot

Constructor

new LayerLoadingIndicatorView()

Since:
  • 2.41.0
Source:

Extends

  • Backbone.View

Members

className

Source:

template :string

The primary HTML template for this view
Type:
  • string
Source:

Methods

render()

Source:

setMessage(message)

Update the message shown next to the loading bar. The message may contain HTML markup carried over from a layer's `label` (see `LayerLoadingCoordinator.getLoadingLayerLabel`), the same trusted, config-authored content already rendered as HTML by the layer menu (`LayerItemView`), so it's set here via `innerHTML` rather than `textContent` to render the same way.
Parameters:
Name Type Description
message string The message to display.
Since:
  • 2.41.0
Source: