streetscape.gl
streetscape.gl copied to clipboard
Zoom in/out Feature
Hi All,
I am trying to implement Zoom in/out feature which mouse scrolling wheel is taking as the center of the windows screen rather than its default pointer as the center, I want windows screen should be center and whenever we will zoom in/out it will take window screen should be center rather than mouse point. Is there any way we can do it? Can anyone help me regarding the same?
I don’t know this area of the code but at one time the default was the way you describe and we changed it. So searching the history can help, it’s a standard deck.gl setting.
Not sure if there is a controller setting, if not you may be able to create a custom deck.gl controller.
You can always open a question in the deck.gl repo.