Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'map/address_finder.cpp')
-rw-r--r--map/address_finder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/map/address_finder.cpp b/map/address_finder.cpp
index ce3e0c88ae..353406e217 100644
--- a/map/address_finder.cpp
+++ b/map/address_finder.cpp
@@ -99,7 +99,7 @@ namespace
if (!types.Has(m_coastType) && NeedProcess(types))
{
// Convert from meters to degrees for backward compatibility.
- double const d = feature::GetMinDistanceMeters(f, m_pt, m_scale) * MercatorBounds::degreeInMetres;
+ double const d = feature::GetMinDistanceMeters(f, m_pt, m_scale) * MercatorBounds::degreeInMeters;
ASSERT_GREATER_OR_EQUAL(d, 0.0, ());
if (IsInclude(d, types))
@@ -308,7 +308,7 @@ namespace
virtual double GetResultDistance(double d, feature::TypesHolder const & types) const
{
- return (d + GetCompareEpsilonImpl(types.GetGeoType(), 5.0 * MercatorBounds::degreeInMetres));
+ return (d + GetCompareEpsilonImpl(types.GetGeoType(), 5.0 * MercatorBounds::degreeInMeters));
}
virtual double NeedProcess(feature::TypesHolder const & types) const