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

Making zoom buttons and setzoom using useReducer methods for the vector layers #46

Open
Devesh21700Kumar opened this issue Apr 3, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@Devesh21700Kumar
Copy link
Contributor

Devesh21700Kumar commented Apr 3, 2021

Describe the solution you'd like

I would like to add a + and - and reset component to the map which would help in scaling up, down the zoom and reset the zoom of the vector layer.

Minimum and Maximum zoom limit would be set to avoid negative or low values of zoom

@Devesh21700Kumar
Copy link
Contributor Author

@ivanoats would like to work this out as well

@DhananjayPurohit
Copy link
Member

@Devesh21700Kumar I think adding up this operation in the state machine that is in discussion inside issue #5 can help us plan better. Feel free to edit my visuals(https://xstate.js.org/viz/?gist=4b5b872e347a5938eae5ba51277f5229) if you agree with me and find a place for this feature into state machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants