Answers.Body: <p>If you're on Drupal you can do this via views (where you have full control over which field types you pull in).</p>
  
  <p>Here's a good example:
  <a href="https://civicrm.stackexchange.com/questions/224/views-proximity-search-on-latitude-longitude">Views Proximity Search on Latitude / Longitude</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-07T09:13:16.573Z
Answers.Text: Many thanks for this - most helpful. Any takers from a Wordpress perspective?
Answers.UserDisplayName: Graham
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-05T21:28:45.910Z
Answers.LastActivityDate: 2016-06-05T21:28:45.910Z
Answers.LastEditDate: 2017-04-13T12:53:13.207Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>I collect both home and work address data for contacts. I assume - although I've not yet tested it - that the default location type is used when a proximity search is carried out.</p>
  
  <p>I have work address set as my default, but want to do a proximity search based on home address.</p>
  
  <p>Anyone know if this can be done, and if so how?</p>
  
Tags: <custom-search><location-type>
Title: How can I specify which location type address to use for a proximity search
ThreadText: # How can I specify which location type address to use for a proximity search
  
  (Asked by: username_0 on 2016-06-05)
  
  I collect both home and work address data for contacts. I assume - although I've not yet tested it - that the default location type is used when a proximity search is carried out.
  
  I have work address set as my default, but want to do a proximity search based on home address.
  
  Anyone know if this can be done, and if so how?
  
  **Tags:** custom-search, location-type
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-06-05. Score: 1
  
  If you're on Drupal you can do this via views (where you have full control over which field types you pull in).
  
  Here's a good example:
  [Views Proximity Search on Latitude / Longitude](https://civicrm.stackexchange.com/questions/224/views-proximity-search-on-latitude-longitude)
  
  > **Comments:**
  > **username_0**: Many thanks for this - most helpful. Any takers from a Wordpress perspective?  
  
  ---
  
  