You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
Issue description
JS Error with the new version beta4 (worked fine on beta3) 👍
TypeError: Cannot read property 'extend' of undefined
at AgmMap.push../node_modules/@agm/core/directives/map.js.AgmMap._isLatLngBoundsLiteral (map.js:352)
at AgmMap.push../node_modules/@agm/core/directives/map.js.AgmMap._updateBounds (map.js:337)
at AgmMap.push../node_modules/@agm/core/directives/map.js.AgmMap._fitBounds (map.js:329)
at AgmMap.push../node_modules/@agm/core/directives/map.js.AgmMap._updatePosition (map.js:298)
at AgmMap.push../node_modules/@agm/core/directives/map.js.AgmMap.ngOnChanges (map.js:250)
at checkAndUpdateDirectiveInline (core.js:9239)
at checkAndUpdateNodeInline (core.js:10507)
at checkAndUpdateNode (core.js:10469)
at debugCheckAndUpdateNode (core.js:11102)
at debugCheckDirectivesFn (core.js:11062)
My page is quite complex so I can't give you a simple repro test case right now, but maybe there is no need as the bug seems to be the function _isLatLngBoundsLiteral that seems optimistic by not testing undefined/null prior to use it.
Issue description
JS Error with the new version beta4 (worked fine on beta3) 👍
My page is quite complex so I can't give you a simple repro test case right now, but maybe there is no need as the bug seems to be the function
_isLatLngBoundsLiteralthat seems optimistic by not testing undefined/null prior to use it.