ปรัย gmap radius
This commit is contained in:
parent
78f8c0813c
commit
1227a53598
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ namespace BMA.EHR.Command.Service.Controllers
|
|||
[AllowAnonymous]
|
||||
public async Task<ActionResult<ResponseObject>> ListPOIAsync([FromBody] GetPOIDto data)
|
||||
{
|
||||
var api_url = $"https://maps.googleapis.com/maps/api/place/nearbysearch/json?location={data.Lat},{data.Lon}&types=point_of_interest&radius=50000&sensor=false&language=th&key=AIzaSyDXKvpU4hinlCKGOEJUgLDbx9yCSZe3woc";
|
||||
var api_url = $"https://maps.googleapis.com/maps/api/place/nearbysearch/json?location={data.Lat},{data.Lon}&types=point_of_interest&radius=100&sensor=false&language=th&key=AIzaSyDXKvpU4hinlCKGOEJUgLDbx9yCSZe3woc";
|
||||
|
||||
using (var client = new HttpClient())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue