class openlayers_plus_behavior_permalink in OpenLayers Plus 7.3
Same name and namespace in other branches
- 7 behaviors/openlayers_plus_behavior_permalink.inc \openlayers_plus_behavior_permalink
- 7.2 behaviors/openlayers_plus_behavior_permalink.inc \openlayers_plus_behavior_permalink
@file A version of Permalink optimized to persist layers between pages with different layer setups and without explicitly using the control.
Hierarchy
- class \openlayers_behavior
Expanded class hierarchy of openlayers_plus_behavior_permalink
1 string reference to 'openlayers_plus_behavior_permalink'
- openlayers_plus_openlayers_behaviors in ./
openlayers_plus.module - Implements hook_openlayers_behaviors().
File
- behaviors/
openlayers_plus_behavior_permalink.inc, line 8 - A version of Permalink optimized to persist layers between pages with different layer setups and without explicitly using the control.
View source
class openlayers_plus_behavior_permalink extends openlayers_behavior {
/**
* Override of options_init().
*/
public function options_init() {
return array();
}
/**
* Render.
*/
public function render(&$map) {
drupal_add_js(drupal_get_path('module', 'openlayers_plus') . '/behaviors/openlayers_plus_behavior_permalink.js');
return $this->options;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
openlayers_behavior:: |
property | |||
openlayers_behavior:: |
function | 17 | ||
openlayers_behavior:: |
function | 24 | ||
openlayers_behavior:: |
function | |||
openlayers_plus_behavior_permalink:: |
public | function |
Override of options_init(). Overrides openlayers_behavior:: |
|
openlayers_plus_behavior_permalink:: |
public | function |
Render. Overrides openlayers_behavior:: |