orcasound/orcamap-react

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

Devesh21700Kumar opened this issue · 2 comments

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

@ivanoats would like to work this out as well

@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.