Class: ZoomPresetView

ZoomPresetView()

Shows the title, description, and associated layers of a configured location within a MapView. Users may click on a preset to zoom to that location.

Screenshot

Constructor

new ZoomPresetView()

Since:
  • 2.29.0
Source:

Extends

  • Backbone.View

Members

className

Source:

templateVars

Values meant to be used by the rendered HTML template.
Source:

type :string

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

Methods

events()

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

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:

select()

Add the active class and call the select callback function set on this view by the parent ZoomPresetsListView.
Source: