You are here

function openlayers_behavior_graticule::render in Openlayers 7.2

Render.

Overrides openlayers_behavior::render

File

plugins/behaviors/openlayers_behavior_graticule.inc, line 80
Implementation of OpenLayers behavior.

Class

openlayers_behavior_graticule
Graticule Behavior

Code

function render(&$map) {
  drupal_add_js(drupal_get_path('module', 'openlayers') . '/plugins/behaviors/openlayers_behavior_graticule.js');
  return $this->options;
}