Join us for our next
Google Maps Platform Developer Community Day in San Francisco in December!
Apply now to attend.
GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSPlaceLikelihood
@interface GMSPlaceLikelihood : NSObject <NSCopying>
Represents a GMSPlace and the relative likelihood of the place being the best match within the
list of returned places for a single request.
-
The place contained in this place likelihood.
Declaration
Objective-C
@property (nonatomic, strong, readonly) GMSPlace *_Nonnull place;
-
Returns a value from 0.0 to 1.0 indicating the confidence that the user is at this place. The
larger the value the more confident we are of the place returned. For example, a likelihood of
0.75 means that the user is at least 75% likely to be at this place.
Declaration
Swift
var likelihood: Double { get }
Objective-C
@property (nonatomic, readonly) double likelihood;
-
Declaration
Swift
init(place: GMSPlace, likelihood: Double)
Objective-C
- (instancetype)initWithPlace:(GMSPlace *)place
likelihood:(double)likelihood NS_DESIGNATED_INITIALIZER;
-
Default init is not available. Please use the designated initializer.
Declaration
Objective-C
- (nonnull instancetype)init;
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 2026-10-01 UTC.
[null,null,["Last updated 2026-10-01 UTC."],[],[]]