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

IControl methods made private. #28

Closed
tapczan1337 opened this issue May 5, 2021 · 1 comment
Closed

IControl methods made private. #28

tapczan1337 opened this issue May 5, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@tapczan1337
Copy link

Hello,
I'm confused, methods onAdd and onRemove are currently private. Can't use controls as shown in examples.

https://github.com/bravecow/mapbox-gl-controls/blob/51a98b615a2fd9c88eac29506c4dc0ad4f334332/src/Base/Base.ts#L34

@korywka
Copy link
Owner

korywka commented May 5, 2021

@tapczan1337 https://codesandbox.io/s/serene-saha-3kzs6

fixed, thanks. v 2.2.0

@korywka korywka closed this as completed May 5, 2021
@korywka korywka added the bug Something isn't working label May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants