You are here

function theme_locationmap_block_image_link in Location Map 7.2

Same name and namespace in other branches
  1. 8.2 locationmap.module \theme_locationmap_block_image_link()
  2. 7 locationmap.module \theme_locationmap_block_image_link()

Format static image for display in the block.

1 theme call to theme_locationmap_block_image_link()
locationmap_block_image in ./locationmap.module
@todo Please document this function.

File

./locationmap.module, line 624

Code

function theme_locationmap_block_image_link() {
  $mapwidth = variable_get('locationmap_block_mapwidth', 160);
  $mapheight = variable_get('locationmap_block_mapheight', 120);
  return l('<img src="' . locationmap_static_image_url($mapwidth, $mapheight) . '" alt="Location map" />', 'locationmap', array(
    'html' => TRUE,
  ));
}