You are here

public function ObjectInterface::getJS in Openlayers 7.3

Return the JS to insert in the page when building the object.

Return value

array

1 method overrides ObjectInterface::getJS()
Base::getJS in src/Types/Base.php
!Attention! This function will remove any option that is named after a plugin type e.g.: layers, controls, styles, interactions, components .

File

src/Types/ObjectInterface.php, line 247
Interface ObjectInterface.

Class

ObjectInterface
Interface openlayers_object_interface.

Namespace

Drupal\openlayers\Types

Code

public function getJS();