openlayers_behavior_geofield.inc in Geofield 7.2
Same filename and directory in other branches
Implementation of OpenLayers behavior.
File
includes/behaviors/openlayers_behavior_geofield.incView source
<?php
/**
* @file
* Implementation of OpenLayers behavior.
*/
/**
* Map Form Values Behavior
*/
class openlayers_behavior_geofield extends openlayers_behavior {
function options_init() {
return array(
'geofield' => '',
);
}
function render(&$map) {
$geopath = drupal_get_path('module', 'geofield');
drupal_add_css($geopath . '/includes/behaviors/css/openlayers_behavior_geofield.css');
drupal_add_js($geopath . '/includes/behaviors/js/openlayers_behavior_geofield.js');
return $this->options;
}
}
Classes
Name![]() |
Description |
---|---|
openlayers_behavior_geofield | Map Form Values Behavior |