new OSH.UI.OpenLayerView()
Extends
Methods
-
addMarker(properties){string}
-
Name Type Description propertiesReturns:
Type Description string -
addPolyline(properties){string}
-
Name Type Description propertiesReturns:
Type Description string -
inherited addViewItem(viewItem)
-
Add viewItem to the view
Name Type Description viewItem -
inherited attachTo(divId)
-
Name Type Description divId -
beforeAddingItems($super, options)
-
Name Type Description $superoptions -
createMarkerFromStyler(styler){string}
-
Name Type Description stylerReturns:
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 | * -
inherited getId(){string|*}
-
Returns:
Type Description string | * -
inherited handleEvents()
-
-
inherited hide()
-
-
initEvents()
-
-
initMap(options)
-
Name Type Description options -
inherited onResize()
-
-
inherited reset()
-
-
inherited selectDataView($super, dataSourcesIds, entitiesIds)
-
Should be called after receiving osh:SELECT_VIEW event
Name Type Description $superdataSourcesIdsentitiesIds -
inherited setData(dataSourceId, data)
-
Name Type Description dataSourceIddata -
inherited show(properties)
-
Show the view by removing display:none style if any.
Name Type Description properties -
inherited shows(properties)
-
Name Type Description properties -
updateMarker(styler)
-
Name Type Description styler -
updatePolyline(styler)
-
Name Type Description styler