Consistent parameters for camera flyTo/setView #3088
Labels
breaking change
cleanup
good first issue
An opportunity for first time contributors
type - enhancement
For setting the camera view, it would be nice if
camera.flyTo
andcamera.setView
used the same parameters.I like that
flyTo
can take either a position or a rectangle as a destination, it would be nice if setView had the same behavior. Maybecamera.viewRectangle
can be consolidated intosetView
.Or, we could possibly consolidate it all into 1 function where
duration = 0
would use thesetView
logic (which is something we do in a few different widgets).The text was updated successfully, but these errors were encountered: