Update docs

This commit is contained in:
Fawad Mirzad
2021-02-14 10:16:55 +01:00
parent c4b05d252f
commit d31bff5ab7
2 changed files with 19 additions and 26 deletions

View File

@@ -1,11 +1,8 @@
# Info Window
## Create
You can create info window by passing custom HTML or Vue components as the child of `Marker` component.
You can create info window by passing custom HTML or Vue components as the child of `Marker` component.
```vue
<GoogleMap>
<Marker
<GmapMap>
<GmapMarker
:geoCoordinates="[
{
lat: 51.2432981,
@@ -14,8 +11,8 @@ You can create info window by passing custom HTML or Vue components as the child
]"
>
<div>I am info window. I appear, when you click a marker</div>
</Marker>
</GoogleMap>
</GmapMarker>
</GmapMap>
```
## Center markers automatically