({ ne, sw })
| 122 | } |
| 123 | |
| 124 | export function convertNeSwToNwSe({ ne, sw }) { |
| 125 | return { |
| 126 | nw: { |
| 127 | lat: ne.lat, |
| 128 | lng: sw.lng, |
| 129 | }, |
| 130 | se: { |
| 131 | lat: sw.lat, |
| 132 | lng: ne.lng, |
| 133 | }, |
| 134 | }; |
| 135 | } |
| 136 | |
| 137 | export function convertNwSeToNeSw({ nw, se }) { |
| 138 | return { |