Share via


SEARCH_LOCATION

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This structure specifies the geographic location of the search request.

Syntax

typedef struct _SEARCH_LOCATION {
    double  dbLatitude;
    double  dbLongitude;
} SEARCH_LOCATION;

Members

  • dbLatitude
    Specifies the latitude component of the geographic location. Valid values for dbLatitude range from -90.0 to 90.0 degrees. For accurate results, the latitude value must be provided by using decimal notation. This decimal value supports a double-precision floating point number.
  • dbLongitude
    Specifies the longitude component of the geographic location. Valid values for dbLongitude range from -180.0 to 180.0. For accurate results, the longitude value must be provided by using decimal notation. This decimal value supports a double-precision floating point number.

Remarks

Latitude lines are measured North and South from the equator in degrees, minutes, and seconds. The equator is defined as 0 degrees North, and the South Pole is 90 degrees South. For example, the latitude of Seattle, Washington, is 47° 36' 23.17 N, which converts into the positive decimal value 47.603828.

Lines of longitude, also known as meridians, run between the North and South Poles. They measure East-West position in degrees, minutes, and seconds. The Prime Meridian, which runs through Greenwich, England, is assigned the value of 0 degrees. Meridians to the West of the Prime Meridian are assigned negative values; meridians to the East are assigned positive values. For example, the longitude of Seattle, Washington, is 122° 19' 51.04" W, which converts to the negative decimal value of -122.328567.

Requirements

Header localsearch.h
Library localsearch.lib
Windows Embedded CE Windows CE 5.0, Windows Embedded NavReady 2009

See Also

Reference

SEARCH_SHAPE_CIRCLE
PhoneBookEntry
LS4D Structures