You are here

function getlocations_fields_svinfo in Get Locations 7

Same name and namespace in other branches
  1. 7.2 modules/getlocations_fields/getlocations_fields.module \getlocations_fields_svinfo()
7 calls to getlocations_fields_svinfo()
getlocations_commentmap 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.
getlocations_nodemap in ./getlocations.module
Page callback: displays a map.
getlocations_termmap in ./getlocations.module
Page callback: Displays a map.

... See full list

File

modules/getlocations_fields/getlocations_fields.module, line 4004
getlocations_fields.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_fields_svinfo($location) {
  $sv_defaults = getlocations_fields_data_keys('d');
  $sv_info = array(
    'sv_heading' => isset($location['sv_heading']) ? $location['sv_heading'] : $sv_defaults['sv_heading'],
    'sv_zoom' => isset($location['sv_zoom']) ? $location['sv_zoom'] : $sv_defaults['sv_zoom'],
    'sv_pitch' => isset($location['sv_pitch']) ? $location['sv_pitch'] : $sv_defaults['sv_pitch'],
    'sv_showfirst' => isset($location['sv_showfirst']) ? $location['sv_showfirst'] : $sv_defaults['sv_showfirst'],
    'sv_addresscontrol' => isset($location['sv_addresscontrol']) ? $location['sv_addresscontrol'] : $sv_defaults['sv_addresscontrol'],
    'sv_addresscontrolposition' => isset($location['sv_addresscontrolposition']) ? $location['sv_addresscontrolposition'] : $sv_defaults['sv_addresscontrolposition'],
    'sv_pancontrol' => isset($location['sv_pancontrol']) ? $location['sv_pancontrol'] : $sv_defaults['sv_pancontrol'],
    'sv_pancontrolposition' => isset($location['sv_pancontrolposition']) ? $location['sv_pancontrolposition'] : $sv_defaults['sv_pancontrolposition'],
    'sv_zoomcontrol' => isset($location['sv_zoomcontrol']) ? $location['sv_zoomcontrol'] : $sv_defaults['sv_zoomcontrol'],
    'sv_zoomcontrolposition' => isset($location['sv_zoomcontrolposition']) ? $location['sv_zoomcontrolposition'] : $sv_defaults['sv_zoomcontrolposition'],
    'sv_linkscontrol' => isset($location['sv_linkscontrol']) ? $location['sv_linkscontrol'] : $sv_defaults['sv_linkscontrol'],
    'sv_imagedatecontrol' => isset($location['sv_imagedatecontrol']) ? $location['sv_imagedatecontrol'] : $sv_defaults['sv_imagedatecontrol'],
    'sv_scrollwheel' => isset($location['sv_scrollwheel']) ? $location['sv_scrollwheel'] : $sv_defaults['sv_scrollwheel'],
    'sv_clicktogo' => isset($location['sv_clicktogo']) ? $location['sv_clicktogo'] : $sv_defaults['sv_clicktogo'],
  );
  return $sv_info;
}