When I tried to console the result of dragbox coordinates it returns an 2d array. What is the meaning of coordinates returned?
I need to get the points to use it in SQL and make a polygon.
Index 0 is minx and miny and what about the others?
dragBox.getGeometry().getCoordinates()
0:[13466767.761325281, 1601017.3688731098]
1:[13466767.761325281, 1601011.3225847394]
2:[13466776.737450918, 1601011.3225847394]
3:[13466776.737450918, 1601017.3688731098]
4:[13466767.761325281, 1601017.3688731098]