You are here

function openlayers_behavior::__construct in Openlayers 6.2

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

File

./openlayers.module, line 858
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;
}