Class: OpenLayerView

OSH.UI. OpenLayerView

new OSH.UI.OpenLayerView()

Extends

Methods

addMarker(properties){string}

Name Type Description
properties
Returns:
Type Description
string

addPolyline(properties){string}

Name Type Description
properties
Returns:
Type Description
string

inherited addViewItem(viewItem)

Add viewItem to the view

Name Type Description
viewItem
Name Type Description
divId

beforeAddingItems($super, options)

Name Type Description
$super
options

createMarkerFromStyler(styler){string}

Name Type Description
styler
Returns:
Type Description
string the id of the newly created marker, or the id of the marker if it already exists from the current styler

inherited getDataSourcesId(){Array}

Returns:
Type Description
Array

getDefaultBaseLayers(){Object}

Returns:
Type Description
Object

getDefaultLayers(){Array}

Returns:
Type Description
Array

inherited getDivId(){string|*}

Returns:
Type Description
string | *
Returns:
Type Description
string | *
Name Type Description
options

inherited selectDataView($super, dataSourcesIds, entitiesIds)

Should be called after receiving osh:SELECT_VIEW event

Name Type Description
$super
dataSourcesIds
entitiesIds

inherited setData(dataSourceId, data)

Name Type Description
dataSourceId
data

Show the view by removing display:none style if any.

Name Type Description
properties
Name Type Description
properties
Name Type Description
styler
Name Type Description
styler