You are here

function theme_gm3_beautytip in Google Maps API V3 7

Theme a GM3 beautytip.

5 theme calls to theme_gm3_beautytip()
theme_gm3_point_button in ./gm3.theme.inc
Point tools button
theme_gm3_polygon_button in ./gm3.theme.inc
Polygon tools button
theme_gm3_polyline_button in ./gm3.theme.inc
Polyline tools button
theme_gm3_rectangle_button in ./gm3.theme.inc
Polyline tools button
theme_gm3_region_button in gm3_region/gm3_region.theme.inc
Region tools button

File

./gm3.theme.inc, line 124

Code

function theme_gm3_beautytip($variables) {
  if (function_exists('beautytips_add_beautytips')) {
    $options['bt_drupal_help_page'] = array(
      'cssSelect' => $variables['selector'],
      'text' => $variables['text'],
      'closeWhenOthersOpen' => TRUE,
      'shrinkToFit' => TRUE,
      'width' => '300px',
      'spikeLength' => '10',
      'overlap' => '3',
      'positions' => 'right',
      'fill' => '#eee',
      'cornerRadius' => '3',
      'shadow' => TRUE,
    );
    beautytips_add_beautytips($options);
  }
}