Upgrading the application to Angular 6 causes this issue
Error:
Uncaught TypeError: Cannot read property 'constructor' of undefined
at OptionBuilder.push../node_modules/@ngui/map/dist/@ngui/map.es5.js.OptionBuilder.getLatLng (map.es5.js:276)
at OptionBuilder.push../node_modules/@ngui/map/dist/@ngui/map.es5.js.OptionBuilder.googlize (map.es5.js:253)
at map.es5.js:190
at Array.forEach (<anonymous>)
at OptionBuilder.push../node_modules/@ngui/map/dist/@ngui/map.es5.js.OptionBuilder.googlizeAllInputs (map.es5.js:188)
at Marker.push../node_modules/@ngui/map/dist/@ngui/map.es5.js.BaseMapDirective.initialize (map.es5.js:121)
at Marker.push../node_modules/@ngui/map/dist/@ngui/map.es5.js.Marker.initialize (map.es5.js:1706)
at map.es5.js:1699
at SafeSubscriber.schedulerFn [as _next] (core.js:3733)
at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (Subscriber.js:253)
Steps to reproduce and a minimal demo
Error: