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

Fix types for swipe & swipe-map control #109

Merged
merged 2 commits into from
Oct 27, 2022

Conversation

felhe
Copy link
Contributor

@felhe felhe commented Oct 24, 2022

Hi, some small changes to the types of both swipe controls:

  1. A typo in the definition for options.orientation led to type errors when using the constructor options.
  2. Both the swipe & swipe map control were missing some options, e.g. using an array of layers besides a single layer. It was already missing in the original JSDoc comments in ol-ext, so I opened a PR over there: docs: update options in jsdoc for swipe & swipe-map control Viglino/ol-ext#879.

This PR is ready as soon as the upstream PR is merged.

@Siedlerchr
Copy link
Owner

Thank you very much! I hope to take a look at it soon

@Siedlerchr Siedlerchr marked this pull request as ready for review October 27, 2022 16:46
@Siedlerchr Siedlerchr merged commit ecffd3e into Siedlerchr:master Oct 27, 2022
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.

None yet

2 participants