GoogleRidesharingConsumer Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Constants
The following constants are available globally.
-
Delta threshold allowed between objects for AlmostEqual
to return YES
.
This value is 1e-7
.
Declaration
Swift
let GMTSLatLngDegreeAlmostEqualTolerance: Double
Objective-C
extern const double GMTSLatLngDegreeAlmostEqualTolerance
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMTSLatLngDegreeAlmostEqualTolerance\u003c/code\u003e is a globally available constant.\u003c/p\u003e\n"],["\u003cp\u003eIt represents the allowed delta threshold for the \u003ccode\u003eAlmostEqual\u003c/code\u003e function to return \u003ccode\u003eYES\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe value of \u003ccode\u003eGMTSLatLngDegreeAlmostEqualTolerance\u003c/code\u003e is \u003ccode\u003e1e-7\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis constant is accessible in both Swift and Objective-C.\u003c/p\u003e\n"]]],[],null,["# GoogleRidesharingConsumer Framework Reference\n\nConstants\n=========\n\nThe following constants are available globally.\n- `\n ``\n ``\n `\n\n ### [GMTSLatLngDegreeAlmostEqualTolerance](/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Constants/GMTSLatLngDegreeAlmostEqualTolerance)\n\n `\n ` \n Delta threshold allowed between objects for `AlmostEqual` to return `YES`.\n This value is `1e-7`. \n\n #### Declaration\n\n Swift \n\n let GMTSLatLngDegreeAlmostEqualTolerance: Double\n\n Objective-C \n\n extern const double GMTSLatLngDegreeAlmostEqualTolerance"]]