You are here

function openlayers_behavior::__construct in Openlayers 7.2

Same name and namespace in other branches
  1. 6.2 openlayers.module \openlayers_behavior::__construct()

File

./openlayers.module, line 1224
Main OpenLayers API File

Class

openlayers_behavior
We define base classes in the core module. All other parent classes can be autoloaded through ctools.

Code

function __construct($options = array(), $map = array()) {
  $this->options = $options + $this
    ->options_init();
  $this->map = $map;
}