public function OL3CesiumControl::attached in Openlayers 7.3
@inheritDoc
Overrides Base::attached
File
- modules/
openlayers_cesium/ src/ Plugin/ Control/ OL3CesiumControl/ OL3CesiumControl.php, line 23 - Control: OL3CesiumControl.
Class
- OL3CesiumControl
- Class OL3CesiumControl.
Namespace
Drupal\openlayers_cesium\Plugin\Control\OL3CesiumControlCode
public function attached() {
$attached = parent::attached();
$attached['libraries_load'][] = array(
'ol3-cesium',
);
return $attached;
}