MSFReverseGeocodingRequest

Objective-C


@interface MSFReverseGeocodingRequest : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

Swift

class MSFReverseGeocodingRequest : NSObject

A reverse geocoding request describing search location.

  • Checks if this object is equal to the specified object.

    Declaration

    Objective-C

    - (BOOL)isEqual:(id)object;

    Swift

    func isEqual(_ object: Any!) -> Bool

    Parameters

    object

    The reference object.

    Return Value

    True when objects are equal, false otherwise.

  • Returns the hash value of this object.

    Declaration

    Objective-C

    - (NSUInteger)hash;

    Swift

    func hash() -> UInt

    Return Value

    The hash value of this object.

  • Constructs a new ReverseGeocodingRequest object from a projection and location.

    Declaration

    Objective-C

    - (id)initWithProjection:(MSFProjection *)projection
                    location:(MSFMapPos *)location;

    Swift

    init!(projection: MSFProjection!, location: MSFMapPos!)

    Parameters

    projection

    The projection to use for the result and location data.

    location

    The location of the query.

  • Returns the location of the query.

    Declaration

    Objective-C

    - (MSFMapPos *)getLocation;

    Swift

    func getLocation() -> MSFMapPos!

    Return Value

    The location of the query.

  • Returns the search radius (in meters).

    Declaration

    Objective-C

    - (float)getSearchRadius;

    Swift

    func getSearchRadius() -> Float

    Return Value

    The search radius in meters.

  • Sets the search radius (in meters). The default search radius is 100 meters.

    Declaration

    Objective-C

    - (void)setSearchRadius:(float)radius;

    Swift

    func setSearchRadius(_ radius: Float)

    Parameters

    radius

    The new search radius in meters.

  • Returns the projection of the query.

    Declaration

    Objective-C

    - (MSFProjection *)getProjection;

    Swift

    func getProjection() -> MSFProjection!

    Return Value

    The projection of the query.

  • Returns the custom parameter value of the request.

    Declaration

    Objective-C

    - (MSFVariant *)getCustomParameter:(NSString *)param;

    Swift

    func getCustomParameter(_ param: String!) -> MSFVariant!

    Parameters

    param

    The name of the parameter to return.

    Return Value

    The value of the parameter. If the parameter does not exist, empty variant is returned.

  • Sets a custom parameter value for the the request.

    Declaration

    Objective-C

    - (void)setCustomParameter:(NSString *)param value:(MSFVariant *)value;

    Swift

    func setCustomParameter(_ param: String!, value: MSFVariant!)

    Parameters

    param

    The name of the parameter.

    value

    The new value for the parameter.

  • Creates a string representation of this request object, useful for logging.

    Declaration

    Objective-C

    - (NSString *)description;

    Swift

    func description() -> String!

    Return Value

    The string representation of this request object.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()