function openlayers_behavior_zoomtolayer::options_init in Openlayers 7.2
Same name and namespace in other branches
- 6.2 includes/behaviors/openlayers_behavior_zoomtolayer.inc \openlayers_behavior_zoomtolayer::options_init()
Provide initial values for options.
Overrides openlayers_behavior::options_init
File
- plugins/
behaviors/ openlayers_behavior_zoomtolayer.inc, line 14 - Implementation of OpenLayers behavior.
Class
- openlayers_behavior_zoomtolayer
- Zoom To Layer Behavior
Code
function options_init() {
return array(
'point_zoom_level' => '5',
'zoomtolayer_scale' => 1,
);
}