Tue, 08/21/2018 - 02:51
#1
POST Radius search (origin doesen't work)
URL: http://www.mapquestapi.com/search/v2/search?key=MY_KEY
Body:
{
"origin": {
"latLng": {
"lat": 39.750307,
"lng": -104.999472
}
},
"options": {
"maxMatches": 4,
"radius": 300,
"shapeFormat": "simple"
},
"remoteDataList": [{
"key": "1",
"name": "190718",
"shapePoints": [
34.742845076651,
-106.62276484085
]
},{
"key": "2",
"name": "222222",
"shapePoints": [
26.120556418306,
-80.144781538417
]
}]
}
it find mine location (origin), but im write another location, it ignore "origin". Can someone help?
Thank you! That works now