hi,
i am trying to send boundingbox array. it is described as below on the explanation:
Filter results to a given bounding box. specify top left and bottom right box corners as: (lat,lng),(lat2,lng2)
can you share with me a json array sample that explains which format should I use. I have been trying to achieve it but couldn’t success for a long time.
here is what I thought:
it doesn’t return anything but there are many pois on these locations.
[ {"lat":28.41011779,"long":28.94729},{"lat":28.410618,"long":28.98267}]
here is the request:
https://api.openchargemap.io/v3/poi/poi?bouindingbox=(28.41011779,28.94729),(28.410618,28.98267)
the AddressInfo object in result of request includes weird locations like below:
"AddressInfo": {
"ID": 258548,
"Title": "Socar Gas Station",
"AddressLine1": "Odysseas Dimitriadis Street",
"AddressLine2": "Tamar Settlement",
"Town": "Batumi",
"StateOrProvince": "Autonomous Republic of Adjara",
"Postcode": "6006",
"CountryID": 86,
"Country": {
"ISOCode": "GE",
"ContinentCode": "AS",
"ID": 86,
"Title": "Georgia"
},
**"Latitude": 41.65008389511368,**
** "Longitude": 41.66708861752636,**
"ContactTelephone1": null,
"ContactTelephone2": null,
"ContactEmail": null,
"AccessComments": null,
"RelatedURL": null,
"Distance": null,
"DistanceUnit": 0
}
thank you in advance!