watsonbox / ios_google_places_autocomplete

Google Places address entry for iOS (Swift)
MIT License
269 stars 72 forks source link

Location Biasing Issue #41

Open RanjitKadam opened 8 years ago

RanjitKadam commented 8 years ago

Hey, thanks for the library. I have a doubt regarding location biasing function, What values to pass to this function.

For example for bangalore city I have bounds

BANGALORE(12.784305f, 77.352505f, 13.178402f, 77.840023f, "GMT+0530", "IN")

So now I tried passing like this

gpaViewController.locationBias = LocationBias(latitude: 13.178402, longitude: 77.840023, radius: 1000)

But I still get filtered results from delhi. Can you please explain what is going wrong.