Skip to content

Commit

Permalink
fix attribute name to fit-to-markers
Browse files Browse the repository at this point in the history
The `fitToMarkers` property is in the plural.
Fix GoogleWebComponents#374
  • Loading branch information
nidelson authored Aug 5, 2017
1 parent 6ce580c commit ffb3945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ google-map
```
-->
```html
<google-map fit-to-marker api-key="AIzaSyD3E1D9b-Z7ekrT3tbhl_dy8DCXuIuDDRc">
<google-map fit-to-markers api-key="AIzaSyD3E1D9b-Z7ekrT3tbhl_dy8DCXuIuDDRc">
<google-map-marker latitude="37.78" longitude="-122.4" draggable="true"></google-map-marker>
</google-map>
```

Breaking changes:
* Markers added to `<google-map>` must now specify `slot="markers"` to be added correctly.
* Markers added to `<google-map>` must now specify `slot="markers"` to be added correctly.

0 comments on commit ffb3945

Please sign in to comment.