You are here

function theme_gm3_polyline_button in Google Maps API V3 7

Polyline tools button

File

./gm3.theme.inc, line 91

Code

function theme_gm3_polyline_button($variables) {
  theme('gm3_beautytip', array(
    'selector' => '.gm3-tools-button[data-gm3-class="polyline"]',
    'text' => t('Click to enable adding/removing lines.  Lines are added by clicking on the map once to start a line, and then on every point where there is an angle in the line.'),
  ));
  return '<div data-gm3-class="polyline" class="gm3-tools-button"><p>+ ' . t('Line') . ' +</p></div>';
}