How to get charging points within the specified area?

Hello.

In my mobile application, I get the following data to show the charging points on the map that appears on the user’s screen:

LatLng(40.999656926978396, 28.88955865055323), LatLng(41.030613336923075, 28.908441402018067)

(fake location data)

I saw the polygon and polyline fields while reviewing the API document, but I don’t understand how I should give them a value. Can you give an example if possible?

Thank you.

Hi, you need Bounding Box. Try opening dev tools when using https://map.openchargemap.io and you’ll see the network requests as an example.