OpenLayersMapView

contrib/OpenLayers. OpenLayersMapView

new OpenLayersMapView()

Source:

Methods

createLayer(layerModel) → {ol.Layer}

Creates an OpenLayers layer from a given LayerModel.
Parameters:
Name Type Description
layerModel core/models.LayerModel The layerModel to create a layer for.
Source:
Returns:
The OpenLayers layer object
Type
ol.Layer

createMap()

Convenience function to setup the map.
Source:

initialize(options)

Initialize an OpenLayersMapView
Parameters:
Name Type Description
options Object Options to initialize the view with.
Properties
Name Type Description
filters core/models.FiltersModel the filters model
Source:

removeLayer()

Remove the layer from the given group;
Source:

setupControls()

Creates OpenLayers interactions and adds them to the map.
Source:

setupEvents()

Set up all events from the layer collections
Source: