function gmap_get_auto_mapid in GMap Module 7.2
Same name and namespace in other branches
- 5 gmap.module \gmap_get_auto_mapid()
- 6.2 gmap.module \gmap_get_auto_mapid()
- 6 gmap.module \gmap_get_auto_mapid()
- 7 gmap.module \gmap_get_auto_mapid()
Generate a dynamic map identifier.
@todo move this to GmapToolbox
4 calls to gmap_get_auto_mapid()
- GmapMacroToolbox::getParsedMacro in lib/
Drupal/ gmap/ GmapMacroToolbox.php - Getting a parsed macro.
- gmap_simple_map in ./
gmap.module - Simple way to draw a map from inside a theme.
- legacy__gmap_parse_macro in tests/
inc/ gmap_parse_macro.inc - theme_gmap in ./
gmap.module - Gmap element theme hook.
File
- ./
gmap.module, line 1117 - GMap -- Routines to use the Google Maps API in Drupal.
Code
function gmap_get_auto_mapid() {
static $auto = 0;
$auto++;
return 'auto' . $auto . 'map';
}