Constructor
new MapView()
- Since:
- Source:
Extends
Members
className :string
The HTML classes to use for this view's element
Type:
- Source:
events :object
The events this view will listen to and the associated function to call.
Type:
- Source:
model :Map
The model that this view uses
Type:
- Source:
template :Underscore.template
The primary HTML template for this view
Type:
- Source:
type :string
The type of View this is
Type:
- Source:
Methods
getSubViews() → {Array.<Backbone.View>}
Get a list of the views that this view contains.
- Since:
- Source:
Returns:
Returns an array of all of the sub-views.
Some may be undefined if they have not been rendered yet.
-
Type
-
Array.<Backbone.View>
initialize()
- Source:
onClose()
Executed when the view is closed. This will close all of the sub-views.
- Since:
- Source:
Renders this view
- Source:
Returns:
Returns the rendered view element
-
Type
-
MapView
Renders the info box that is displayed when a user clicks on a feature on the
map. If there are multiple features selected, this will show information for
the first one only.
- Source:
Returns:
Returns the rendered view
-
Type
-
FeatureInfoView
Renders the layer details view that is displayed when a user clicks on a layer
in the toolbar.
- Source:
Returns:
Returns the rendered view
-
Type
-
LayerDetailsView
Renders the view that shows the map/globe and all of the geo-spatial data.
- Source:
Returns:
Returns the rendered view
-
Type
-
MapWidgetContainerView
Renders the toolbar element that contains sections for viewing and editing the
layer list.
- Source:
Returns:
Returns the rendered view
-
Type
-
ToolbarView