You are here

function openlayers_plus_openlayers_behaviors in OpenLayers Plus 7

Same name and namespace in other branches
  1. 7.3 openlayers_plus.module \openlayers_plus_openlayers_behaviors()
  2. 7.2 openlayers_plus.module \openlayers_plus_openlayers_behaviors()

Implements hook_openlayers_behaviors().

This is a ctools plugins hook.

File

./openlayers_plus.module, line 82

Code

function openlayers_plus_openlayers_behaviors() {
  return array(
    'openlayers_plus_behavior_blockswitcher' => array(
      'type' => 'layer',
      'title' => t('OL+: Blockswitcher'),
      'description' => t('A clone of LayerSwitcher, with better themability and positioning via the Drupal block system.'),
      'behavior' => array(
        'path' => drupal_get_path('module', 'openlayers_plus') . '/behaviors',
        'file' => 'openlayers_plus_behavior_blockswitcher.inc',
        'class' => 'openlayers_plus_behavior_blockswitcher',
        'parent' => 'openlayers_behavior',
      ),
    ),
    'openlayers_plus_behavior_blocktoggle' => array(
      'type' => 'layer',
      'title' => t('OL+: Blocktoggle'),
      'description' => t('A version of BlockSwitcher that toggles between two different layers only. Useful for situations in which layers represent the same data in slightly different ways.'),
      'behavior' => array(
        'path' => drupal_get_path('module', 'openlayers_plus') . '/behaviors',
        'file' => 'openlayers_plus_behavior_blocktoggle.inc',
        'class' => 'openlayers_plus_behavior_blocktoggle',
        'parent' => 'openlayers_behavior',
      ),
    ),
    'openlayers_plus_behavior_themeregion' => array(
      'type' => 'layer',
      'title' => t('OL+: Theme Region'),
      'description' => t('Inserts Drupal Theme Regions on top of the map.'),
      'behavior' => array(
        'path' => drupal_get_path('module', 'openlayers_plus') . '/behaviors',
        'file' => 'openlayers_plus_behavior_themeregion.inc',
        'class' => 'openlayers_plus_behavior_themeregion',
        'parent' => 'openlayers_behavior',
      ),
    ),
    'openlayers_plus_behavior_legend' => array(
      'title' => t('OL+: Map legend'),
      'type' => 'layer',
      'description' => t('A block in a corner of a map that provides information on layers.'),
      'behavior' => array(
        'path' => drupal_get_path('module', 'openlayers_plus') . '/behaviors',
        'file' => 'openlayers_plus_behavior_legend.inc',
        'class' => 'openlayers_plus_behavior_legend',
        'parent' => 'openlayers_behavior',
      ),
    ),
    'openlayers_plus_behavior_permalink' => array(
      'type' => 'layer',
      'title' => t('OL+: Permalink'),
      'description' => t('A version of Permalink optimized to persist layers between pages with different layer setups and without explicitly using the control.'),
      'behavior' => array(
        'path' => drupal_get_path('module', 'openlayers_plus') . '/behaviors',
        'file' => 'openlayers_plus_behavior_permalink.inc',
        'class' => 'openlayers_plus_behavior_permalink',
        'parent' => 'openlayers_behavior',
      ),
    ),
    'openlayers_plus_behavior_scalepoints' => array(
      'type' => 'layer',
      'title' => t('OL+: Scalepoints'),
      'description' => t('Dynamic styling, changing point radii based on a certain value.'),
      'behavior' => array(
        'path' => drupal_get_path('module', 'openlayers_plus') . '/behaviors',
        'file' => 'openlayers_plus_behavior_scalepoints.inc',
        'class' => 'openlayers_plus_behavior_scalepoints',
        'parent' => 'openlayers_behavior',
      ),
    ),
    'openlayers_plus_behavior_tooltips' => array(
      'type' => 'layer',
      'title' => t('OL+: Tooltips'),
      'description' => t('An interaction with point-based maps that results in following links on hover.'),
      'behavior' => array(
        'path' => drupal_get_path('module', 'openlayers_plus') . '/behaviors',
        'file' => 'openlayers_plus_behavior_tooltips.inc',
        'class' => 'openlayers_plus_behavior_tooltips',
        'parent' => 'openlayers_behavior',
      ),
    ),
    'openlayers_plus_behavior_tooltips_field' => array(
      'type' => 'layer',
      'title' => t('OL+: Tooltips Field'),
      'description' => t('An interaction with point-based maps that results in following links on hover that you specify the field.'),
      'behavior' => array(
        'path' => drupal_get_path('module', 'openlayers_plus') . '/behaviors',
        'file' => 'openlayers_plus_behavior_tooltips_field.inc',
        'class' => 'openlayers_plus_behavior_tooltips_field',
        'parent' => 'openlayers_behavior',
      ),
    ),
    'openlayers_plus_behavior_maptext' => array(
      'type' => 'layer',
      'title' => t('OL+: MapText'),
      'description' => t('Display Controls and text on the map.'),
      'behavior' => array(
        'path' => drupal_get_path('module', 'openlayers_plus') . '/behaviors',
        'file' => 'openlayers_plus_behavior_maptext.inc',
        'class' => 'openlayers_plus_behavior_maptext',
        'parent' => 'openlayers_behavior',
      ),
    ),
    'openlayers_plus_behavior_popup' => array(
      'type' => 'layer',
      'title' => t('OL+: Popups'),
      'description' => t('An interaction with point-based, clustered maps that allows clicking on points that results in scanning between items.'),
      'behavior' => array(
        'path' => drupal_get_path('module', 'openlayers_plus') . '/behaviors',
        'file' => 'openlayers_plus_behavior_popup.inc',
        'class' => 'openlayers_plus_behavior_popup',
        'parent' => 'openlayers_behavior',
      ),
    ),
  );
}