Comments (2)
You can just add them seperated by a pipe i.e to search for gym and cinema you could use the following:
$latitude = '-33.8804166';
$longitude = '151.2107662';
$googlePlaces->setLocation($latitude . ',' . $longitude);
$googlePlaces->setRadius(5000);
$googlePlaces->setKeyword('gym|cinema');
$results = $googlePlaces->search();
from google-places.
Thanks for the reply, but this did not seem to work for me. Did not produce any results.
from google-places.
Related Issues (20)
- Params encoding HOT 2
- Not an issue but could you could use
- googlePlaces::_formatResults() removes next_page_token HOT 2
- Add place error (Invalid Request)
- Can not set a RankBy parameter HOT 1
- add a composer.json file HOT 1
- googlePlaces::_formatResults() does not format the results correctly HOT 2
- Missing Key And Formatting Errors
- Repeat function is not working right now HOT 3
- [Google-Places---PHP-] Class google place
- setIncludeDetails implementation HOT 2
- google place detail issue HOT 1
- How can I install it using composer to integrate it in my laravel 5.1 project? HOT 1
- is this project still live and class is working ? HOT 1
- Use release function
- Next Page Token sometimes doesn't work.
- Why echo? HOT 4
- In the sample code longitude is spelled "longitiude" with an extra i HOT 1
- Paging HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-places.