Skip to content

Pass camera options to map.fitBounds - #227

Merged
scottsfarley93 merged 3 commits into
version4from
camera-options-on-fit-bounds
Mar 22, 2019
Merged

scottsfarley93 merged 3 commits into
version4from
camera-options-on-fit-bounds

Conversation

@scottsfarley93

@scottsfarley93 scottsfarley93 commented Mar 21, 2019 •

Copy link
Copy Markdown

This PR addresses @andrewharvey 's comment here and passes the options.flyTo value set in the constructor to the map.fitBounds method when a selected feature has a bounding box.

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • run npm run docs and commit changes to API.md
  • update CHANGELOG.md with changes under master heading before merging

@scottsfarley93 scottsfarley93 changed the title Update docs to indicate that flying options will be passed to both fl… Pass camera options to map.fitBounds Mar 21, 2019
@andrewharvey andrewharvey added this to the v4.0.0 milestone Mar 21, 2019

@katydecorah katydecorah left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@scottsfarley93
scottsfarley93 merged commit 9e77770 into version4 Mar 22, 2019
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.

3 participants