You are here

function openlayers_behavior_overviewmap::options_init in Openlayers 7.2

Same name and namespace in other branches
  1. 6.2 includes/behaviors/openlayers_behavior_overviewmap.inc \openlayers_behavior_overviewmap::options_init()

Provide initial values for options.

Overrides openlayers_behavior::options_init

File

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

Class

openlayers_behavior_overviewmap
Overview Map Behavior.

Code

function options_init() {
  return array(
    'projection' => array(),
    'maxExtent' => array(),
    'maximized' => 'false',
    'minRectSize' => 0,
    'minRatio' => 8,
    'maxRatio' => 32,
    'mapOptions' => array(
      'numZoomLevels' => 1,
      'zoom' => 1,
    ),
    'size' => array(
      'h' => 100,
      'w' => 150,
    ),
  );
}