You are here

function theme_gmap_overlay_edit in GMap Module 5

Same name and namespace in other branches
  1. 6.2 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 758
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);
}