You are here

function addressfield_staticmap_theme in Address Field Static Map 7

Implements hook_theme().

Provides theming function used when a regular Google Map is rendered with a static image fallback.

File

./addressfield_staticmap.module, line 171
Main file for the addressfield static map module.

Code

function addressfield_staticmap_theme() {
  return array(
    'addressfield_staticmap_google_map' => array(
      'variables' => array(
        'address' => NULL,
        'settings' => NULL,
        'image' => NULL,
        'kml_paths' => NULL,
      ),
      'template' => 'addressfield-staticmap-google-map',
    ),
    'addressfield_staticmap_static_map' => array(
      'variables' => array(
        'address' => NULL,
        'settings' => NULL,
      ),
      'template' => 'addressfield-staticmap-static-map',
    ),
    'addressfield_staticmap_embed_map' => array(
      'variables' => array(
        'address' => NULL,
        'settings' => NULL,
      ),
      'template' => 'addressfield-staticmap-embed-map',
    ),
  );
}