Closed razorness closed 7 months ago
However, found out that you can use animateCamera
as well which supports values for each side.
If you do not want an animation, you can also use moveCamera
. I actually don't know if we need the setCameraBounds method anymore, since there is another, more general way to update the camera. Also there are no specific methods to update other camera properties.
Well, I think this can be closed. Nice move to add some docs.
Hello, thank you for this awesome package. I have a usecase where I use a large widget over a map which is displayed full screen. So, I need to set
padding
onsetCameraBounds
for earch side individually. It would be nice if this package could supportEdgeInsets
as padding option.It is supported by Maplibre GL JS and CameraUpdateFactory.newLatLngBounds in Maplibre native.