You are here

function ip_geoloc_earth_radius_semimajor in IP Geolocation Views & Maps 8

Same name and namespace in other branches
  1. 7 ip_geoloc_api.inc \ip_geoloc_earth_radius_semimajor()

Get semimajor radius.

3 calls to ip_geoloc_earth_radius_semimajor()
IpGeoLocAPI::earthRadiusSemiminor in src/Services/IpGeoLocAPI.php
Get semiminor radius.
ip_geoloc_earth_radius in ./ip_geoloc_api.inc
Get radius of the Earth at a given latitude.
ip_geoloc_earth_radius_semiminor in ./ip_geoloc_api.inc
Get semiminor radius.

File

./ip_geoloc_api.inc, line 759
API functions of IP geolocation module

Code

function ip_geoloc_earth_radius_semimajor() {
  return 6378137.0;
}