function openlayers_test_rnd_factor::render in Openlayers 6.2
Render function
Overrides openlayers_style_plugin::render
File
- tests/
plugins/ style_plugin/ openlayers_test_rnd_factor.inc, line 55 - Test
Class
- openlayers_test_rnd_factor
- Style Plugin for testing purposes.
Code
function render() {
// Add JS
drupal_add_js(drupal_get_path('module', 'openlayers_test') . '/plugins/style_plugin/openlayers_test_rnd_factor.js');
}