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