MCPcopy Index your code
hub / github.com/google-map-react/google-map-react / convertNeSwToNwSe

Function convertNeSwToNwSe

src/lib/index.js:124–135  ·  view source on GitHub ↗
({ ne, sw })

Source from the content-addressed store, hash-verified

122}
123
124export 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
137export function convertNwSeToNeSw({ nw, se }) {
138 return {

Callers 1

fitBoundsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected