function gmap_get_auto_mapid in GMap Module 5
Same name and namespace in other branches
- 6.2 gmap.module \gmap_get_auto_mapid()
- 6 gmap.module \gmap_get_auto_mapid()
- 7.2 gmap.module \gmap_get_auto_mapid()
- 7 gmap.module \gmap_get_auto_mapid()
Generate a dynamic map identifier.
3 calls to gmap_get_auto_mapid()
- gmap_simple_map in ./
gmap.module - Simple way to draw a map from inside a theme.
- theme_gmap in ./
gmap.module - Gmap element theme hook
- _gmap_parse_macro in ./
gmap_parse_macro.inc
File
- ./
gmap.module, line 983 - GMap -- Routines to use the Google Maps API in Drupal.
Code
function gmap_get_auto_mapid() {
static $auto = 0;
$auto++;
return 'auto' . $auto . 'map';
}