maplibre-react-native
maplibre-react-native copied to clipboard
Allow Array Type for Padding Parameter in fitBounds Function
Steps to Trigger Behavior
- it occurs when try to use "fitbound" function
Link to Minimal Reproducible Example
if (currentBottomSheetIndex === 0) {
facilityCarmera?.current?.fitBounds(
[minLon, minLat],
[maxLon, maxLat],
getFitBoundsArrayFacility(currentBottomSheetIndex),
1000,
);
}
Version(s) affected
- Development OS: macOS sonoma 14.4
- maplibre-react-native Version 9.1.0
- React Native Version 0.73.6