You are here

function gm3_field_library in Google Maps API V3 7

Implementation of hook_library().

File

gm3_field/gm3_field.module, line 327

Code

function gm3_field_library() {
  return array(
    'field_point' => array(
      'title' => t('Google Maps Javascript API V3: Point field'),
      'website' => 'http://code.google.com/apis/maps/',
      'version' => '3',
      'js' => array(
        array(
          'data' => drupal_get_path('module', 'gm3_field') . "/js/gm3_field.field_point.js",
        ),
      ),
      'dependencies' => array(
        array(
          'gm3',
          'gm3.point',
        ),
      ),
    ),
    'field_polygon' => array(
      'title' => t('Google Maps Javascript API V3: Polygon field'),
      'website' => 'http://code.google.com/apis/maps/',
      'version' => '3',
      'js' => array(
        array(
          'data' => drupal_get_path('module', 'gm3_field') . "/js/gm3_field.field_polygon.js",
        ),
      ),
      'dependencies' => array(
        array(
          'gm3',
          'gm3.polygon',
        ),
      ),
    ),
    'field_rectangle' => array(
      'title' => t('Google Maps Javascript API V3: Rectangle field'),
      'website' => 'http://code.google.com/apis/maps/',
      'version' => '3',
      'js' => array(
        array(
          'data' => drupal_get_path('module', 'gm3_field') . "/js/gm3_field.field_rectangle.js",
        ),
      ),
      'dependencies' => array(
        array(
          'gm3',
          'gm3.rectangle',
        ),
      ),
    ),
    'field_polyline' => array(
      'title' => t('Google Maps Javascript API V3: Polyline field'),
      'website' => 'http://code.google.com/apis/maps/',
      'version' => '3',
      'js' => array(
        array(
          'data' => drupal_get_path('module', 'gm3_field') . "/js/gm3_field.field_polyline.js",
        ),
      ),
      'dependencies' => array(
        array(
          'gm3',
          'gm3.polyline',
        ),
      ),
    ),
  );
}