You are here

Location: An API for working with locations. in Location 7.3

Same name and namespace in other branches
  1. 5.3 location.inc \Location
  2. 6.3 location.inc \Location
  3. 7.5 location.inc \Location
  4. 7.4 location.inc \Location

@file Public API for the Location module.

File

./location.inc, line 3
Public API for the Location module.

Functions

Namesort descending Location Description
location_distance_between ./location.inc Given two points in lat/lon form, returns the distance between them.
location_driving_directions_link ./location.inc Takes two locations and tries to return a deep-link to driving directions.
location_get_postalcode_data ./location.inc Try to extract the the Latitude and Longitude data from the postal code.
location_latlon_exact ./location.inc Currently, this is not a priority until there is an implementable use for exact longitude latitude coordinates for an location.
location_latlon_rough ./location.inc Takes an location and returns a "rough" latitude/longitude pair based on the postal code data available for the given country.
location_map_link ./location.inc Get a deep-link to a mapping service such as Yahoo! Maps or MapPoint given an location.
_location_supported_countries ./location.inc Returns an associative array of countries currently supported by the location system where.