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

Make compass and zoom controls optional #5348

Merged
merged 6 commits into from
Jan 10, 2018
Merged

Make compass and zoom controls optional #5348

merged 6 commits into from
Jan 10, 2018

Commits on Dec 28, 2017

  1. Refactor line separator between control buttons

    Instead of having every control button have a bottom border, make stacked
    buttons have a top-border. This gets rid of the :last-child selector
    too.
    matijs committed Dec 28, 2017
    Configuration menu
    Copy the full SHA
    38b5a01 View commit details
    Browse the repository at this point in the history
  2. Make compass optional

    The compass button of the navigation control is now optional. Creating a
    new navigation control with `{showCompass: false}` will leave out the
    compass button. Defaults to showing the compass button.
    matijs committed Dec 28, 2017
    Configuration menu
    Copy the full SHA
    e16d3de View commit details
    Browse the repository at this point in the history
  3. Make zoom-in/out buttons optional

    They still default to showing, but make them optional.
    matijs committed Dec 28, 2017
    Configuration menu
    Copy the full SHA
    83d2822 View commit details
    Browse the repository at this point in the history
  4. Add documentation

    matijs committed Dec 28, 2017
    Configuration menu
    Copy the full SHA
    a6adee4 View commit details
    Browse the repository at this point in the history
  5. Update documentation

    Matijs Brinkhuis authored and matijs committed Dec 28, 2017
    Configuration menu
    Copy the full SHA
    f274cbe View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2018

  1. Conditionally add the dragRotateHandler

    - Remove check from `_rotateCompassArrow`
    - Add checks to `onAdd` and `onRemove`
    matijs committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    0a6fc07 View commit details
    Browse the repository at this point in the history