geo_search_reply_get_lat()

Retrieve the latitude of the result at the current index in the reply.

Synopsis:

#include <geo_search.h>
geo_search_error_t geo_search_reply_get_lat(geo_search_reply_t *reply, double *lat)

Since:

BlackBerry 10.0.0

Arguments:

reply

The search reply.

lat

The resultant latitude, relative to the WGS84 datum.

Library:

libgeo_search (For the qcc command, use the -l geo_search option to link against this library)

Description:

The latitude is given in decimal degrees, within the range of -90.0 to +90.0. For a reverse geocode search the resultant latitude may be the same as the search latitude.

See geo_search_reply_get_name() for an example of usage.

Returns:

GEO_SEARCH_OK if successful. On error, returns GEO_SEARCH_ERROR_REPLY.