function openlayers_behavior_layerzoom::render in Openlayers 7.2
Render.
Overrides openlayers_behavior::render
File
- plugins/
behaviors/ openlayers_behavior_layerzoom.inc, line 45 - Implementation of OpenLayers behavior.
Class
- openlayers_behavior_layerzoom
- Layer Zoom Behavior
Code
function render(&$map) {
drupal_add_js(drupal_get_path('module', 'openlayers') . '/plugins/behaviors/openlayers_behavior_layerzoom.js');
return $this->options;
}