GoogleWebComponents / google-map

Google Maps web components

Home Page:https://elements.polymer-project.org/elements/google-map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fit to Poly (or any content)

aletorrado opened this issue · comments

Hey! It would be nice to add a new attribute similar to fitToMarkers, to fit to any kind of content such as a Poly. It may be called fitToContent, maybe relying on some common properties. Would you welcome a PR?

Perhaps renaming fitToMarkers to fitToContent would be the way to go. What do the API calls look like for fitting to other types of content?