19 lines
674 B
JavaScript
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)
|
|
}
|
|
} |