adba / OpenWeatherMapAPI

iOS api classes for openweathermap.org
MIT License
257 stars 68 forks source link

currentWeatherByCoordinate #2

Closed walsht closed 11 years ago

walsht commented 11 years ago

Need to change ,lng to &lon

NSString *method = [NSString stringWithFormat:@"/weather?lat=%f,lng=%f", coordinate.latitude, coordinate.longitude ];

TO:

NSString *method = [NSString stringWithFormat:@"/weather?lat=%f&lon=%f", coordinate.latitude, coordinate.longitude ];

adba commented 11 years ago

Dohh! It's fixed in the latest commit.

walsht commented 11 years ago

Should be /weather?lat=%f&lon=%f you have /weather?lat=%f,lon=%f

adba commented 11 years ago

Dohh again. It's fixed now (and testet this time), Thanks for the heads up :)