You are here

function theme_gm3_polygon_button in Google Maps API V3 7

Polygon tools button

File

./gm3.theme.inc, line 80

Code

function theme_gm3_polygon_button($variables) {
  theme('gm3_beautytip', array(
    'selector' => '.gm3-tools-button[data-gm3-class="polygon"]',
    'text' => t('Click to enable adding/removing polygons.  Many sided polygons are simply added by clicking on the extreme points of the polygon.'),
  ));
  return '<div data-gm3-class="polygon" class="gm3-tools-button"><p>+ ' . t('Polygon') . '</p></div>';
}