Loading Google maps JavaScript libraries with "//" rather than "http://" that will fix the error on https websites.