You are here

function location_views_proximity_form in Location 5.3

Same name and namespace in other branches
  1. 5 contrib/location_views/location_views.module \location_views_proximity_form()

Proximity handling functions

at the moment, everything is set up to assume the unit is miles need to find a way to provide an alternative for km not sure yet how to add another selector into the mix so user can select units

1 call to location_views_proximity_form()
location_views_tables in contrib/location_views/location_views.module
Implementation of hook_views_tables().

File

contrib/location_views/location_views.module, line 919
Views-enables the location module.

Code

function location_views_proximity_form() {
  return array(
    '#title' => t('from Postal Code'),
    '#type' => 'textfield',
    '#size' => 15,
  );
}