Location: An API for working with locations. in Location 7.3
Same name and namespace in other branches
- 5.3 location.inc \Location
- 6.3 location.inc \Location
- 7.5 location.inc \Location
- 7.4 location.inc \Location
@file Public API for the Location module.
File
- ./
location.inc, line 3 - Public API for the Location module.
Functions
Name | Location | Description |
---|---|---|
location_distance_between |
./ |
Given two points in lat/lon form, returns the distance between them. |
location_driving_directions_link |
./ |
Takes two locations and tries to return a deep-link to driving directions. |
location_get_postalcode_data |
./ |
Try to extract the the Latitude and Longitude data from the postal code. |
location_latlon_exact |
./ |
Currently, this is not a priority until there is an implementable use for exact longitude latitude coordinates for an location. |
location_latlon_rough |
./ |
Takes an location and returns a "rough" latitude/longitude pair based on the postal code data available for the given country. |
location_map_link |
./ |
Get a deep-link to a mapping service such as Yahoo! Maps or MapPoint given an location. |
_location_supported_countries |
./ |
Returns an associative array of countries currently supported by the location system where. |