You are here

function simple_gmap_theme in Simple Google Maps 7

Same name and namespace in other branches
  1. 8 simple_gmap.module \simple_gmap_theme()
  2. 3.0.x simple_gmap.module \simple_gmap_theme()

Implements hook_theme().

File

./simple_gmap.module, line 45
Simple Google Maps module.

Code

function simple_gmap_theme($existing, $type, $theme, $path) {
  return array(
    'simple_gmap_output' => array(
      'variables' => array(
        'include_map' => TRUE,
        'include_static_map' => 0,
        'include_link' => FALSE,
        'include_text' => FALSE,
        'width' => 200,
        'height' => 200,
        'static_scale' => 1,
        'url_suffix' => '',
        'zoom' => 12,
        'static_map_type' => 'roadmap',
        'link_text' => t('View larger map'),
        'address_text' => '',
        'map_type' => 'm',
        'langcode' => 'en',
        'apikey' => NULL,
      ),
      'template' => 'simple-gmap-output',
    ),
  );
}