streetscape.gl icon indicating copy to clipboard operation
streetscape.gl copied to clipboard

Zoom in/out Feature

Open ravi1122 opened this issue 5 years ago • 2 comments

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?

ravi1122 avatar Jun 20 '20 12:06 ravi1122

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.

jlisee avatar Jun 30 '20 12:06 jlisee

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.

ibgreen avatar Jun 30 '20 18:06 ibgreen