public function OpenlayersPlusBehaviorTooltips::render in OpenLayers Plus 7.2
Render.
Overrides openlayers_behavior::render
File
- behaviors/
openlayers_plus_behavior_tooltips.inc, line 52 - An interaction with point-based maps that result in following links on hover.
Class
- OpenlayersPlusBehaviorTooltips
- @file An interaction with point-based maps that result in following links on hover.
Code
public function render(&$map) {
drupal_add_css(drupal_get_path('module', 'openlayers_plus') . '/behaviors/openlayers_plus_behavior_tooltips.css');
drupal_add_js(drupal_get_path('module', 'openlayers_plus') . '/behaviors/openlayers_plus_behavior_tooltips.js');
return $this->options;
}