Is there a way to customize the zoom behavior in my project? I want to maintain the bottom position while resizing the other three directions, and also include pitch adjustments.
https://i.sstatic.net/hQdg8.gif https://i.sstatic.net/m3xef.gif
I aim for the marker to remain static during zoom operations, similar to the first gif provided.
Currently, when the gesture ends, the camera transitions to a newly generated marker to avoid glitches in the animation.
const markerLatLng: LatLng = {latitude: 42.00352792344026, longitude: 21.396884999999997}
const generatedMarker: LatLng = computeDestinationPoint(
markerLatLng,
currentDistance,
currentHeading,
);
mapViewRef.current?.animateCamera(
{
center: generatedMarker,
heading: currentHeading,
pitch: defaultPitch,
zoom: currentZoom,
}
)