class openlayers_cck_vector_layer in Openlayers 6.2
Vector Layer Behavior
Hierarchy
- class \openlayers_behavior
- class \openlayers_cck_vector_layer
Expanded class hierarchy of openlayers_cck_vector_layer
2 string references to 'openlayers_cck_vector_layer'
- openlayers_cck_openlayers_behaviors in modules/
openlayers_cck/ openlayers_cck.module - Implementation of hook_openlayers_behaviors
- openlayers_cck_widget_settings in modules/
openlayers_cck/ openlayers_cck.module - Implementation of hook_widget_settings().
File
- modules/
openlayers_cck/ includes/ behaviors/ openlayers_cck_vector_layer.inc, line 11 - Implementation of OpenLayers behavior.
View source
class openlayers_cck_vector_layer extends openlayers_behavior {
/**
* Provide initial values for options.
*/
function options_init() {
return array(
'features' => '',
);
}
function js_dependency() {
return array(
'OpenLayers.Layer.Vector',
);
}
/**
* Render.
*/
function render(&$map) {
drupal_add_js(drupal_get_path('module', 'openlayers_cck') . '/includes/behaviors/js/openlayers_cck_vector_layer.js');
return $this->options;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
openlayers_behavior:: |
property | |||
openlayers_behavior:: |
function | 18 | ||
openlayers_behavior:: |
function | |||
openlayers_cck_vector_layer:: |
function |
Overrides openlayers_behavior:: |
||
openlayers_cck_vector_layer:: |
function |
Provide initial values for options. Overrides openlayers_behavior:: |
||
openlayers_cck_vector_layer:: |
function |
Render. Overrides openlayers_behavior:: |