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