public function Map::getJS in Openlayers 7.3
!Attention! This function will remove any option that is named after a plugin type e.g.: layers, controls, styles, interactions, components .
Overrides Base::getJS
File
- src/
Types/ Map.php, line 121 - Class Map.
Class
- Map
- Class Map.
Namespace
Drupal\openlayers\TypesCode
public function getJS() {
$js = parent::getJS();
unset($js['opt']['capabilities']);
return $js;
}