codeigniter - Get information of clicnic near by latitude and longitude in php -
i developing php application in codeigniter in want clinic , blood bank information near latitude , longitude , there api these information ?
yes , need use the google geocoding api
- you need sign-up api key
- this service has usage limits.
this how make search request api.
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=500&types=food&name=harbour&sensor=false&key=apikey
explanation (for above search request):
searches places of type 'food' within 500m radius of point in sydney, australia, containing word 'harbour' in name.
there list of supported place types , can go through them , use on application.
find whole list here
Comments
Post a Comment