Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/google-map-react/google-map-react
/ latLng2Obj
Function
latLng2Obj
src/google_map.js:70–71 ·
view source on GitHub ↗
(latLng)
Source
from the content-addressed store, hash-verified
68
}
69
70
const
latLng2Obj = (latLng) =>
71
isPlainObject(latLng) ? latLng : { lat: latLng[0], lng: latLng[1] };
72
73
const
_checkMinZoom = (zoom, minZoom) => {
74
if
(process.env.NODE_ENV !==
'production'
) {
Callers
3
constructor
Method · 0.85
componentDidUpdate
Method · 0.85
GoogleMap
Class · 0.85
Calls
1
isPlainObject
Function · 0.85
Tested by
no test coverage detected