Search code examples
here-api

How to call here place api to get accurate nearby place name


one of my client they using here map and api, for the bellow lat lon they get this

23.759769,90.411991
South 75m,Ideal Trade Centre,Madhubag, Dhaka Bangladesh

but when i am using

https://places.demo.api.here.com/places/v1/discover/around?at=23.7598%2C90.412&show_content=&Geolocation=geo%3A23.7598%2C90.412&X-Mobility-Mode=drive&Accept-Language=en-GB&app_id=5B88sPuZ1iyF3RjMLnqK&app_code=jcz5u1RQZ4HiY7FJLD0bvA

this give me

{ Siddik School } 21
{ Mamataz Bakery } 39
{ Ahad Bakery House } 45 

etc

I need a help to understand how they getting bellow result from here API for that lat/lon

75m,Ideal Trade Centre,Madhubag, Dhaka Bangladesh

if some one can hellp me to understand what i am missing i would be really greatfull


Solution

  • It could be that your client is using the Reverse Geocode API, while you're trying to look for places at that same location, using the Places API. Note that the Reverse Geocode has more modes available than retrieveAddresses.

    However, there are several ways your client could get to such result. For example, /discover/around filtered on business-services category returns Ideal Trade Centre among other places: example

    Your best bet is to ask your client how exactly they are using the API.