POI
Search by POI such as airports, parks, mines, or gas station
POI Search
GET https://api.fatos.biz/onemap/api/search/POI
Returns search results based on POI search queries and coordinate settings. Example API Call: https://api.fatos.biz/onemap/api/search/POI?key=YOUR_API_KEY&kwd=4b454e574f4f44&stype=1&cx=103.84765&cy=1.384630&minx=103.834154&miny=1.297384&maxx=103.862620&maxy=1.391600
Query Parameters
key
string
Your API Key.
kwd
string
Name search: search word Nearby search: category ID (String to hex encoding)i.e. {ABC Market} to {ec9db4eba788ed8ab8}
stype
string
Search type Name search: 1 Nearby search: 3
cx
string
User's current location X coordinate (wgs84) (Longitude)
cy
string
User's current location Y coordinate (wgs84) (Latitude)
rad
string
Search radius (Optional for name search)
{
“pgno”:, page number
“cnt”:, the number of searches
“items”: lists of POI search results
[
{"id":, poi id
"name""", POI expression name
"addr1":"", new address
"addr2":"", old address
"phone":"", phone number : separator(,)
"cate":"", classification code
"posx":, poi x (longitude wgs84)
"posy":, poi x (latitude wgs84)
"entx":, poi entry point X (longitude wgs84)
"enty":, poi entry point Y (latitude wgs84)
"dist": distance(meter)
},
]
}Last updated
Was this helpful?