We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4299a5e commit fe68b42Copy full SHA for fe68b42
1 file changed
lib/src/main/kotlin/com/openmeteo/apix/OpenMeteo.kt
@@ -124,8 +124,8 @@ class OpenMeteo(
124
) = invoke(GeocodingSearch.Query(name, count, language))
125
126
fun gfs(
127
- latitude: Float,
128
- longitude: Float,
+ latitude: Float = this.latitude,
+ longitude: Float = this.longitude,
129
hourly: Iterable<com.openmeteo.apix.gfs.Hourly>? = null,
130
daily: Iterable<com.openmeteo.apix.gfs.Daily>?,
131
currentWeather: Boolean? = null,
0 commit comments