Fix wrong file name in info window

This commit is contained in:
Fawad Mirzad
2020-10-21 15:41:23 +02:00
parent 0cc161f9a5
commit d9c76b5e23

View File

@@ -0,0 +1,35 @@
# Info Window
## Create
You can create info window by passing custom HTML or Vue components as the child of `Marker` component.
```vue
<GoogleMap>
<Marker
:geoCoordinates="[
{
lat: 51.2432981,
lng: 6.7950981
}
]"
>
<div>I am info window. I appear, when you click a marker</div>
</Marker>
</GoogleMap>
```
## Center markers automatically
To center markers so that all the markers are visible, use:
```vue
<GoogleMap>
<Marker
:centerAutomatically="false"
:geoCoordinates="[
{
lat: 51.2432981,
lng: 6.7950981
}
]"
/>
</GoogleMap>
```