You are here

function openlayers_behavior_drawfeatures::options_init in Openlayers 6.2

Same name and namespace in other branches
  1. 7.2 plugins/behaviors/openlayers_behavior_drawfeatures.inc \openlayers_behavior_drawfeatures::options_init()

Provide initial values for options.

Overrides openlayers_behavior::options_init

File

includes/behaviors/openlayers_behavior_drawfeatures.inc, line 15
Implementation of OpenLayers behavior.

Class

openlayers_behavior_drawfeatures
Draw Features behavior.

Code

function options_init() {
  return array(
    'element_id' => '',
    'feature_types' => array(),
    'feature_limit' => 0,
  );
}