Class: LayerCategoryListView

LayerCategoryListView()

A LayerCategoryListView shows a collection of AssetCategories, each with a MapAssets collection nested under it.

Screenshot

Constructor

new LayerCategoryListView()

Since:
  • 2.28.0
Source:

Extends

  • Backbone.View

Members

className :string

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

panels :Array.<ExpansionPanel>

The array of layer categories to display in the list
Type:
  • Array.<ExpansionPanel>
Source:

type :string

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

Methods

initialize(options)

Executed when a new LayerCategoryListView is created
Parameters:
Name Type Description
options object A literal object with options to pass to the view
Properties
Name Type Description
collection AssetCategories The collection of AssetCategory to display.
Source:

render() → {LayerCategoryListView}

Renders this view
Source:
Returns:
Returns the rendered view element
Type
LayerCategoryListView
Searches and only dispays categories and layers that match the text.
Parameters:
Name Type Attributes Description
text string <optional>
The search text from user input.
Source:
Returns:
- True if a layer item matches the text
Type
boolean