Skip to content

Expose fitBounds() on Map component #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2018
Merged

Conversation

arbass22
Copy link
Contributor

@arbass22 arbass22 commented Apr 24, 2018

Fixes #183

This allows the map to be centered to fit a polyline, by passing a bounds prop to the map.
I tested locally building on top of pull request #203 so probably merge that one first.

The commit "Accept region as option param" got caught up in here because the dist was not committed.

@auser auser merged commit 13f5ee8 into fullstackreact:master Apr 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants