Nearby Places Search Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
Nearby Places Search: This Plugin 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.
Requirement
Google Maps API Key.
Shortcode
Shortcode : [nearby_places_search_code]
Usage
-
In path (wp-admin/options-general.php?page=searchsettings) configure the search settings for
places. -
You can change the type of place, the center point and the radius from the
center point in the configuration page. -
Copy the shortcode [nearby_places_search_code],Paste the Shortcode into Your Page , Post or any custom post type.
Configuration Settings
-
Location Types – Location Type is restricted to select only one value.
See https://developers.google.com/places/documentation/supported_types
for supported types.
Default values set as: Atm|Bank|Hospital|Park|Restaurant|School -
Google API Authentication Method – ‘API Key’ or ‘Google Maps API for Work’
As per method selection add ‘Google Maps API Key’. -
Location – The latitude/longitude around which to retrieve the information
of place. This must be specified as latitude,longitude.
Default value set to 18.5204, 73.8567 (Pune, Maharashtra, India). -
Radius – Defines the distance (in meters) within which to return place
results. The maximum allowed radius is 50000 meters. Default set to 1000 meter.
Note : Default configuration value define at ‘config/nearby_places_search_config.php’
Reference link
https://developers.google.com/places/web-service/search#PlaceSearchRequests