Class: LayerInfoView

LayerInfoView()

A view that shows some of the basic info from a MapAsset model, like the description, attribution, and link to more information.

Screenshot

Constructor

new LayerInfoView()

Since:
  • 2.18.0
Source:

Extends

  • Backbone.View

Members

className :string

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

events :Object

The events this view will listen to and the associated function to call.
Type:
  • Object
Source:

model :MapAsset

The model that this view uses
Type:
Source:

template :Underscore.template

The primary HTML template for this view
Type:
  • Underscore.template
Source:

type :string

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

Methods

initialize(optionsopt)

Executed when a new LayerInfoView is created
Parameters:
Name Type Attributes Description
options Object <optional>
A literal object with options to pass to the view
Source:

render() → {LayerInfoView}

Renders this view
Source:
Returns:
Returns the rendered view element
Type
LayerInfoView