Class: LayersPanelView

LayersPanelView()

LayersPanelView shows information about a map's layers and supports searching. This view is used as a toolbar section.

Screenshot

Constructor

new LayersPanelView()

Since:
  • 2.28.0
Source:

Extends

  • Backbone.View

Members

className :string

The HTML classes to use for this view's element
Type:
  • string
Source:

classNames :Object.<string, string>

The HTML classes to use for this view's HTML elements.
Type:
  • Object.<string, string>
Source:

type :string

The type of View this is
Type:
  • string
Source:

Methods

render()

Render the view by updating the HTML of the element. The new HTML is computed from an HTML template that is passed an object with relevant view state.
Source:
Search function for the SearchInputView.
Parameters:
Name Type Attributes Description
text string <optional>
The search text from user input.
Source:
Returns:
- True if there is a layer match.
Type
boolean