mangoweb / ftgoogleplacesapi Goto Github PK
View Code? Open in Web Editor NEWiOS library for querying Google Places API using simple block-based interface
License: MIT License
iOS library for querying Google Places API using simple block-based interface
License: MIT License
Is it possible to cancel an ongoing request?
Thanks.
I receive these 2 errors (I use cocoapods, Version 6.3.1):
/src/Pods/Headers/Public/FTGooglePlacesAPI/FTGooglePlacesAPIDetailResponse.h:88:41: Unknown type name 'CGFloat'
src/Pods/Headers/Public/FTGooglePlacesAPI/FTGooglePlacesAPISearchResultItem.h:55:41: Unknown type name 'CGFloat'
In this line:
@Property (nonatomic, assign, readonly) CGFloat rating;
Any idea? Maybe it's related to the new xcode version.
The podspec defines the AFNetworking dependency as 2.2.0 when they are currently at 2.4.1. Any reason for the constricting dependency in the podspec? Why not use a more loose pod dependency (i.e. ~> 2.2)?
Great library! Thanks!
When adding this library to my Podfile, i get the following error
[!] Unable to satisfy the following requirements:
- `AFNetworking (~> 2.4.1)` required by `Podfile`
- `AFNetworking (~> 2.2.0)` required by `FTGooglePlacesAPI (1.1)`
Would it be possible to update the dependency of FTGooglePlacesAPI to the latest AFNetworking?
Here:
https://github.com/FuerteInternational/FTGooglePlacesAPI#4-perform-request-and-handle-the-results
Response is always printed, even if there is an error. Probably you want "else" there.
Hello!
Apart from the radius, is there any way to limit the number of places I receive? Because I'm only interested in the closest place.
Thanks.
Hello!
I see we have FTGooglePlacesAPISearchResponse and FTGooglePlacesAPIDetailResponse
What should I do if I want to retrieve telephone numbers (or place URL)?
Do I have to launch a search request and after that, take placeId and send another request to get its details? If I use the google places api directly without a wrapper, do I have to follow that logic again?
Thanks.
When you set "rankBy" parameter to FTGooglePlacesAPIRequestParamRankByDistance "radius" value is not getting added to the request string. However, without that parameter Google API refuses to send data.
Please change 128-130 code lines in FTGooglePlacesAPINearbySearchRequest.m:
if (_rankBy != FTGooglePlacesAPIRequestParamRankByDistance) {
params[@"radius"] = [NSString stringWithFormat:@"%ld", (unsigned long)_radius];
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.