Skip to content
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

Updates to flyTo docs #10890

Merged
merged 2 commits into from
Jul 21, 2021
Merged

Updates to flyTo docs #10890

merged 2 commits into from
Jul 21, 2021

Conversation

HeyStenson
Copy link
Contributor

fixes #8712

This PR updates the wording for flyTo's curve and minZoom options to specify that a curve value will not be respected if minZoom is provided. If someone from @mapbox/gl-js could review, I'd appreciate it!

@HeyStenson HeyStenson requested a review from a team July 21, 2021 22:01
@HeyStenson HeyStenson merged commit c3e9f7f into main Jul 21, 2021
@HeyStenson HeyStenson deleted the hs/flyto-docs branch July 21, 2021 23:37
SnailBones pushed a commit that referenced this pull request Jul 22, 2021
* updates to flyto

* no trailing spaces
SnailBones pushed a commit that referenced this pull request Jul 26, 2021
* updates to flyto

* no trailing spaces
SnailBones added a commit that referenced this pull request Aug 2, 2021
#10889)

* addClassName method can be called before the popup is on map

* Added tests

* Updating incorrect examples

* Added console.warn error messages for incorrect function use

* Pin chrome to version 91 (#10887)

* Pin to chrome version 91

* Pin chrome version for test-browser

* Update src/ui/popup.js

Co-authored-by: Ricky Reusser <rreusser@users.noreply.github.com>

* Fixed asterisks for jsdoc

* Removing else with early return

* Updates to `flyTo` docs (#10890)

* updates to flyto

* no trailing spaces

* Added _classList Set to Popup

* Trim and split on any whitespace as Ricky suggested

* Update documentation for @returns

* Refactored so that changes to the container are always performed by _updateClassList

* Inlining  function from anchor.js to marker.js

* Typo fix

* Small changes from suggestions

* Aadding ;s to examples

Co-authored-by: Arindam Bose <arindam.bose@mapbox.com>
Co-authored-by: Ricky Reusser <rreusser@users.noreply.github.com>
Co-authored-by: Heather Stenson <heather.stenson@mapbox.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flyTo documentation: minZoom vs curve
2 participants