API_​CityType

City attribute representation.

    typedef struct {
        API_Attr_Head     head;
        short             latitude;
        short             longitude;
        short             timeZoneInMinutes;
        short             timeZoneOffset;
    } API_CityType;

 

Members

head
Specifies the index and the name of the city.
latitude
The city’s latitude in minutes.
longitude
The city’s longitude in minutes.
timeZoneInMinutes Changed in API 22
Time zone in minutes.
timeZoneOffset New in API 22
Different time zones can have same timeZoneInMinutes.

 

Remarks

You can delete all the cities from the database.

There is no additional data assigned to city attributes in the API_AttributeDef structure.

 

Requirements

Version: API 1.3 or later
Header: APIdefs_Attributes.h

 

See Also

API_Attr_Head, API_Attribute,
Attribute Manager, API Types