openlayers_behavior_overviewmap

Mouse Potision Behavior

Hierarchy

Functions & methods

NameDescription
openlayers_behavior::js_dependency
openlayers_behavior::options_form
openlayers_behavior::__construct
openlayers_behavior_overviewmap::options_initProvide initial values for options. Overrides openlayers_behavior::options_init
openlayers_behavior_overviewmap::renderRender. Overrides openlayers_behavior::render

includes/behaviors/openlayers_behavior_overviewmap.inc, line 12

View code
<?php
class openlayers_behavior_overviewmap extends openlayers_behavior {
  /**
   * Provide initial values for options.
   */
  function options_init() {
    return array(
      'overviewmap' => '',
    );
  }

  /**
   * Render.
   */
  function render(&$map) {
    // drupal_add_js(drupal_get_path('module', 'openlayers') .'/includes/behaviors/js/openlayers_behavior_mouseposition.js');
    return $this->options;
  }
}
?>