You are here

function openlayers_behavior_graticule::options_init in Openlayers 7.2

Provide initial values for options.

Overrides openlayers_behavior::options_init

File

plugins/behaviors/openlayers_behavior_graticule.inc, line 14
Implementation of OpenLayers behavior.

Class

openlayers_behavior_graticule
Graticule Behavior

Code

function options_init() {
  return array(
    'labelled' => TRUE,
    'numPoints' => 50,
    'targetSize' => 200,
    'displayInLayerSwitcher' => TRUE,
    'lineSymbolizer' => array(
      'strokeColor' => '#333',
      'strokeWidth' => 1,
      'strokeOpacity' => 0.5,
    ),
  );
}