Add info window component
This commit is contained in:
2
index.js
2
index.js
@@ -3,6 +3,7 @@ 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) => {
|
||||
@@ -11,6 +12,7 @@ export default {
|
||||
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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user