function getlocations_fields_mapinfo in Get Locations 7.2
Same name and namespace in other branches
- 7 modules/getlocations_fields/getlocations_fields.module \getlocations_fields_mapinfo()
3 calls to getlocations_fields_mapinfo()
- getlocations_entity_type_map in ./
getlocations.module - Page callback: displays a map.
- getlocations_lids in ./
getlocations.module - Page callback: displays a map.
- getlocations_nids in ./
getlocations.module - Page callback: displays a map.
File
- modules/
getlocations_fields/ getlocations_fields.module, line 3808 - getlocations_fields.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_fields_mapinfo($location) {
$defaults = getlocations_fields_data_keys('d');
$info = array(
'mapzoom' => isset($location['mapzoom']) ? $location['mapzoom'] : $defaults['mapzoom'],
'map_maptype' => isset($location['map_maptype']) ? $location['map_maptype'] : $defaults['map_maptype'],
);
return $info;
}