You are here

function ip_geoloc_earth_flattening in IP Geolocation Views & Maps 8

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

Flatten the earth.

2 calls to ip_geoloc_earth_flattening()
IpGeoLocAPI::earthRadiusSemiminor in src/Services/IpGeoLocAPI.php
Get semiminor radius.
ip_geoloc_earth_radius_semiminor in ./ip_geoloc_api.inc
Get semiminor radius.

File

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

Code

function ip_geoloc_earth_flattening() {
  return 1.0 / 298.257223563;
}