function openlayers_behavior_panzoom::render in Openlayers 6.2
Same name and namespace in other branches
- 7.2 plugins/behaviors/openlayers_behavior_panzoom.inc \openlayers_behavior_panzoom::render()
Render.
Overrides openlayers_behavior::render
File
- includes/
behaviors/ openlayers_behavior_panzoom.inc, line 29 - Implementation of OpenLayers behavior.
Class
- openlayers_behavior_panzoom
- Pan Zoom Bar Behavior
Code
function render(&$map) {
drupal_add_js(drupal_get_path('module', 'openlayers') . '/includes/behaviors/js/openlayers_behavior_panzoom.js');
return $this->options;
}