You are here

function theme_gmap_overlay_edit in GMap Module 6.2

Same name and namespace in other branches
  1. 5 gmap.module \theme_gmap_overlay_edit()
  2. 6 gmap.module \theme_gmap_overlay_edit()

Overlay editor theme function.

1 theme call to theme_gmap_overlay_edit()
process_gmap_overlay_edit in ./gmap.module
Overlay editor #process function.

File

./gmap.module, line 835
GMap -- Routines to use the Google Maps API in Drupal.

Code

function theme_gmap_overlay_edit($element) {
  $path = drupal_get_path('module', 'gmap');
  drupal_add_js($path . '/js/gmap.js');
  drupal_add_js($path . '/js/gmap_shapes.js');
  drupal_add_js($path . '/js/overlay_edit.js');
  return theme('select', $element);
}