ERROR TypeError: Cannot read property 'BaseArrayClass' of null
at new BaseArrayClass (index.js:621)
at GoogleMaps.create (index.js:371)
at HomePage.webpackJsonp.195.HomePage.loadMap (home.ts:39)
at HomePage.webpackJsonp.195.HomePage.ionViewDidLoad (home.ts:22)
at ViewController._lifecycle (view-controller.js:566)
at ViewController._didLoad (view-controller.js:439)
at Tab.NavControllerBase._didLoad (nav-controller-base.js:950)
at t.invoke (polyfills.js:3)
at Object.onInvoke (core.es5.js:3890)
at t.invoke (polyfills.js:3)
Mine works, and I started on the same page. If you google âJosh Morony ionic google mapâ, or something like it, he has a blog post from some time pretty recent that makes as a great follow up (avoid adding âbackgroundColorâ: âwhiteâ)
Also, the script that imports the google SDK (ends with initMap) benefits from having async defer added to it. That tripped me up for a good while.
I have the same problem in my application. I donât know if this is the best shape but for me resolve for now. (sorry, my english is not very good rsrs).