Update the layers order in the map and the treeCtrl in the treeManager after a reorder of the first-level groups. Then update the permalink.
Opens a openIframePopup with the content of the metadata url of a node.
ngeo layertree controller, from the current node.
Ngeo tree controller.
first parent that supports opacity change or is filtrable. Or null if there is any parent with layer functions.
Use the gmfSyncLayertreeMap_ to create and get layer corresponding to this treeCtrl. The layer will be inserted into the map. The layer can be null if the treeCtrl is based on a node inside a mixed node. It this case, the layer will be in the first parent declared as a mixed node.
tree controller of the node.
The OpenLayers layer or group for the node.
Get the icon image URL for the given treeCtrl's layer. It can only return a string for internal WMS layers without multiple childlayers in the node.
ngeo layertree controller, from the current node.
The icon legend URL or undefined.
Get the legends object (<LayerName: url> for each layer) for the given treeCtrl.
ngeo layertree controller, from the current node.
A <layerName: url> object that provides a layer for each layer.
Return the current state of the given treeCtrl's node. Return a class name that match with the current node activation state.
ngeo layertree controller, from the current node.
'on' or 'off' or 'indeterminate'.
Get the number of legends object for this layertree controller.
ngeo layertree controller, from the current node.
The number of Legends object.
Return 'out-of-resolution' if the current resolution of the map is out of the min/max resolution in the node.
the GeoMapFish Layer. WMTS layer is also allowed (the type is defined as GmfLayerWMS only to avoid some useless tests to know if a minResolutionHint property can exist on the node).
'out-of-resolution' or undefined.
Return the current scale of the map.
Scale.
Ngeo tree controller.
Whether the layer tree controller has a filtrable datasource or not.
The DOM node legend id
Whenever the legend is currently displayed.
Is snapping activated for this LayertreeController
ngeo layertree controller.
True if snapping is activated for that layer.
Remove layer from this component's layergroup (and then, from the map) on a ngeo layertree destroy event.
treeCtrl scope.
ngeo layertree controller, from the current node.
first level node count.
Layer tree node to remove.
Determines whether the layer tree controller supports being customized. For example, having its layer opacity changed, displaying its legend, etc.
If any requirement is met, then the treeCtrl is considered supporting "customization", regardless of what it actually is.
The requirements are:
Ngeo tree controller.
Whether the layer tree controller supports being "customized" or not.
Ngeo tree controller.
Whether the layer tree controller supports having a legend being shown.
Ngeo tree controller.
Whether the layer tree controller supports having its layer opacity being changed or not.
Layer tree node to tag popup identifier.
Toggle the state of treeCtrl's node.
ngeo layertree controller, from the current node.
Data source to filter.
Toggle the legend for a node
The DOM node legend id to toggle
Toggle the menu for a node
The DOM node menu id to toggle
Toggle snapping for this LayertreeController.
ngeo layertree controller.
Layer tree controller.
Layer to update.
Layer tree node.
Update the timeRangeValue
property of the data source bound to the
given tree controller and the state of the permalink using the given time.
LayertreeController.prototype.updateTimeData - description
ngeo layertree controller
The start and optionally the end datetime (for time range selection) selected by user
Update the timeRangeValue
property of the data source bound to the
given tree controller using the given time. If the tree controller has
no data source, it means that it has children and they might have
data sources.
The setting of the TIME parameter on the layer occurs in the
gmf.datasource.Manager
service
LayertreeController.prototype.updateWMSTimeLayerState - description
ngeo layertree controller
The start and optionally the end datetime (for time range selection) selected by user
Set the resolution of the map with the max or min resolution of the node.
ngeo layertree controller, from the current node.
Generated using TypeDoc
Init the controller,