Add info window component

This commit is contained in:
Fawad Mirzad
2021-01-27 12:33:33 +01:00
parent 182b6df20a
commit 74dc164c81
3 changed files with 17 additions and 5 deletions

View File

@@ -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)
}