GWeather.DistanceUnit
Description: Reference for GWeather.DistanceUnit

### Enumeration

# GWeatherDistanceUnit

since: 4.0

#### Declaration

    enum GWeather.DistanceUnit

#### Description [src]

The measure unit to use for sky visibility values, when retrieved by gweather_info_get_value_visibility().

Available since: 4.0

#### Members

`GWEATHER_DISTANCE_UNIT_INVALID`

  Invalid unit.

  - Value: `0`
  - Nickname: `invalid`
  - Available since: 4.0
`GWEATHER_DISTANCE_UNIT_DEFAULT`

  The user preferred distance unit.

  - Value: `1`
  - Nickname: `default`
  - Available since: 4.0
`GWEATHER_DISTANCE_UNIT_METERS`

  Meters.

  - Value: `2`
  - Nickname: `meters`
  - Available since: 4.0
`GWEATHER_DISTANCE_UNIT_KM`

  Kilometers (= 1000 meters)

  - Value: `3`
  - Nickname: `km`
  - Available since: 4.0
`GWEATHER_DISTANCE_UNIT_MILES`

  Miles.

  - Value: `4`
  - Nickname: `miles`
  - Available since: 4.0