google-map-field.tpl.php in Google Map Field 7
Same filename and directory in other branches
Default theme implementation for google map fields.
Available variables:
- $name: the display name of the map
- $map_id: a unique ID for the map. to identify the map container.
1 theme call to google-map-field.tpl.php
- google_map_field_format_field in ./
google_map_field.module - This function formats the google map field for display, called by google_map_field_field_formatter_view().
File
theme/google-map-field.tpl.phpView source
<?php
/**
* @file
* Default theme implementation for google map fields.
*
* Available variables:
* - $name: the display name of the map
* - $map_id: a unique ID for the map.
* to identify the map container.
*/
?>
<div class="google-map-field">
<div class="google-map-field-label">
<?php
print $name;
?>
</div>
<div id="google_map_field_<?php
print $map_id;
?>" class="google_map_field_display"></div>
</div>