Wed, 05/04/2016 - 06:41
#1
POI and address search
Hi,
We are trying to implement a REST API for mobile application to fetch POI for current location with Search String.
Meaning,
While I am at San Diego and in the search String I am typing “AVIS” the result should the AVIS very near to San Diego
Same way
While I am at Atlanta and in the search String if I am typing “AVIS” the result should the AVIS very near to Atlanta.
Can anyone help me how can we form the API for MQUEST to achieve the expected result.
Thanks
Chetan
How to search a company name using MapQuest API
I cannot find a way to use Search API to find a business by name. Could you please let me know what API will let me do that and provide a request sample
Hi, I want to search POIs by category and within a bounding box. Am I right to think that I always have to know in advance whether I need mqap.ntpois or mqap.internationalpois and then use either group_sic_code_name or cats or is there a way to search globally, without specifying whether it's North America or the rest of the world? What I am doing at the moment is: if one returns empty results I go to the other one. Is there a better way of doing it? I'd appreciate some advice.
Hi,I tried searching for coffee in India but still geting results for US despite using mqap.internationalpois.I used the following:
https://www.mapquestapi.com/search/v2/radius?key=KEYMatches=4&origin=18....|name%20ILIKE%20?|%coffee%
Got results as:
{"hostedData":[{"extraCriteria":"name ILIKE '%coffee%'","columnNames":[],"parameters":["%coffee%"],"tableName":"mqap.internationalpois"}],"resultsCount":0,"origin":{"dragPoint":false,"displayLatLng":{"lng":-91.36271,"lat":42.96099},"adminArea4":"","adminArea5":"Farmersburg","postalCode":"52047","adminArea1":"US","adminArea3":"IA","type":"s","sideOfStreet":"N","geocodeQualityCode":"L1CCA","adminArea4Type":"County","linkId":0,"street":"18 County Highway B 60","adminArea5Type":"City","geocodeQuality":"ADDRESS","adminArea1Type":"Country","adminArea3Type":"State","latLng":{"lng":-91.36271,"lat":42.96099}},"totalPages":1,"options":{"kmlStyleUrl":"http://search-b2b.cloud.mapquest.com/kml-default.kml","shapeFormat":"raw","maxMatches":4,"pageSize":0,"ambiguities":false,"units":"m","currentPage":1,"radius":5},"info":{"copyright":{"imageAltText":"© 2018 MapQuest, Inc.","imageUrl":"http://api.mqcdn.com/res/mqlogo.gif","text":"© 2018 MapQuest, Inc."},"messages":[],"statusCode":0}}
Hi,I tried searching for coffee in India but still geting results for US despite using mqap.internationalpois.I used the following:
https://www.mapquestapi.com/search/v2/radius?key=KEYMatches=4&origin=18....|name%20ILIKE%20?|%coffee%
Got results as:
{"hostedData":[{"extraCriteria":"name ILIKE '%coffee%'","columnNames":[],"parameters":["%coffee%"],"tableName":"mqap.internationalpois"}],"resultsCount":0,"origin":{"dragPoint":false,"displayLatLng":{"lng":-91.36271,"lat":42.96099},"adminArea4":"","adminArea5":"Farmersburg","postalCode":"52047","adminArea1":"US","adminArea3":"IA","type":"s","sideOfStreet":"N","geocodeQualityCode":"L1CCA","adminArea4Type":"County","linkId":0,"street":"18 County Highway B 60","adminArea5Type":"City","geocodeQuality":"ADDRESS","adminArea1Type":"Country","adminArea3Type":"State","latLng":{"lng":-91.36271,"lat":42.96099}},"totalPages":1,"options":{"kmlStyleUrl":"http://search-b2b.cloud.mapquest.com/kml-default.kml","shapeFormat":"raw","maxMatches":4,"pageSize":0,"ambiguities":false,"units":"m","currentPage":1,"radius":5},"info":{"copyright":{"imageAltText":"© 2018 MapQuest, Inc.","imageUrl":"http://api.mqcdn.com/res/mqlogo.gif","text":"© 2018 MapQuest, Inc."},"messages":[],"statusCode":0}}