Files
vue-google-maps-community-fork/index.js
2021-01-27 12:33:33 +01:00

19 lines
674 B
JavaScript

import GoogleMap from './components/Map'
import Marker from './components/Marker'
import Circle from './components/Circle'
import Polygon from './components/Polygon'
import Rectangle from './components/Rectangle'
import InfoWindow from './components/InfoWindow'
export default {
install: (app, options) => {
app.component('GoogleMap', GoogleMap)
app.component('Marker', Marker)
app.component('Circle', Circle)
app.component('Polygon', Polygon)
app.component('Rectangle', Rectangle)
app.component('InfoWindow', InfoWindow)
app.provide('apiKey', options.apiKey)
app.provide('mapIds', options.mapIds)
}
}