Reverting old change
This commit is contained in:
@@ -17,10 +17,8 @@ import buildComponent from './components/build-component'
|
|||||||
import MountableMixin from './utils/mountableMixin'
|
import MountableMixin from './utils/mountableMixin'
|
||||||
import { Env } from './utils/env'
|
import { Env } from './utils/env'
|
||||||
let GMapApi = null
|
let GMapApi = null
|
||||||
let googleMapsObject = null
|
|
||||||
|
|
||||||
export {
|
export {
|
||||||
googleMapsObject,
|
|
||||||
loadGMapApi,
|
loadGMapApi,
|
||||||
Marker,
|
Marker,
|
||||||
Polyline,
|
Polyline,
|
||||||
@@ -84,7 +82,6 @@ function makeGMapApiPromiseLazy(options) {
|
|||||||
// Things to do once the API is loaded
|
// Things to do once the API is loaded
|
||||||
function onApiLoaded() {
|
function onApiLoaded() {
|
||||||
GMapApi.gmapApi = {}
|
GMapApi.gmapApi = {}
|
||||||
googleMapsObject = window.google
|
|
||||||
return window.google
|
return window.google
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user