Nearby places search
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Description
Nearby Places Search: This module integrates with the Google Places and GMap.
Shows a list of places of a certain type and configurable from the back-end
settings within the specified radius for specified location.
Requirements
Libraries API (For both D7 & D8)
jQuery Update (>7.x-2.5) (Only for D7)
Installation
1. Install and configure 'Libraries API' and 'jQuery Update (>7.x-2.5)'
2. Copy the 'nearby_places_search' module directory in to your Drupal 'sites/all/modules' directory and install it as usual.
3. Download the places marker images library from https://github.com/ashwinshaharkar/nearbyplace.markers.library
4. Unzip the file and rename the folder to "nearby_places_search.markers" (pay attention to the case of the letters)
5. Put the folder in a libraries directory
Ex: sites/all/libraries
6. Ensure you have a valid path similar to this one for all files
Ex: sites/all/libraries/nearby_places_search.markers
For D8:
1. Install and configure 'Libraries API' (>8.x-3.x-dev or any stable version).
2. Copy the 'nearby_places_search' module directory in to your Drupal
'modules' directory and install it as usual.
3. Download the places marker images library from
https://github.com/ashwinshaharkar/nearbyplace.markers.library
4. Unzip the file and rename the folder to "nearby_places_search.markers"
(pay attention to the case of the letters)
5. Create a directory called 'libraries' under root folder of your Drupal installation.
Ex: /libraries
6. Ensure you have a valid path similar to this one for all files
Ex: /libraries/nearby_places_search.markers
Usage
For D7:
1. In path (admin/config/content/place-types) configure the search settings for places.
For D8:
1. In path (admin/config/nearby_places_search/settings) configure the search settings for places.
2. You can change the type of place, the center point and the radius from the
center point in the configuration page.
3. In path (admin/structure/block) find and configure the 'Nearby Places Search' block as per requirement.
Details
For the meaning of the several configuration parameters please check README.md
Reference link
https://developers.google.com/places/web-service/search#PlaceSearchRequests
