function _location_map_link_de_suchen in Location 5.3        
                          
                  
                        Same name and namespace in other branches
- 6.3 supported/location.de.inc \_location_map_link_de_suchen()
 - 7.5 supported/location.de.inc \_location_map_link_de_suchen()
 - 7.3 supported/location.de.inc \_location_map_link_de_suchen()
 - 7.4 supported/location.de.inc \_location_map_link_de_suchen()
 
 
1 call to _location_map_link_de_suchen()
  - location_map_link_de in supported/location.de.inc
 
  - Parameters:
-> $location_a is an associative array that represents a full location where
'street'       => the street portions of the location
'supplemental' => additional street portion of the…
 
 
File
 
   - supported/location.de.inc, line 47
 
  
Code
function _location_map_link_de_suchen($location = array()) {
  $get_query = '?';
  $get_query .= 'where=';
  $query_parts = array();
  if (isset($location['street'])) {
    $query_parts[] = $location['street'];
  }
  if ($location['postal_code'] != '') {
    $query_parts[] = $location['postal_code'];
  }
  if ($location['city'] != '') {
    $query_parts[] = $location['city'];
  }
  
  $get_query .= urlencode(implode(', ', $query_parts));
  return 'http://www.suchen.de/lokalmap' . $get_query;
}