Reverting old change

This commit is contained in:
Andrew Slack
2023-03-08 19:11:52 +01:00
parent 374ffb30c5
commit de252682bb

View File

@@ -17,10 +17,8 @@ import buildComponent from './components/build-component'
import MountableMixin from './utils/mountableMixin'
import { Env } from './utils/env'
let GMapApi = null
let googleMapsObject = null
export {
googleMapsObject,
loadGMapApi,
Marker,
Polyline,
@@ -84,7 +82,6 @@ function makeGMapApiPromiseLazy(options) {
// Things to do once the API is loaded
function onApiLoaded() {
GMapApi.gmapApi = {}
googleMapsObject = window.google
return window.google
}