mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
As can be seen in the `mapbox-gl-js` [source code](https://github.com/mapbox/mapbox-gl-js/blob/master/src/ui/camera.js#L370), the `fitBounds()` function receives `AnimationOptions & CameraOptions`. It then calls the `flyTo` or `easeTo` functions according to the options it received. The `FitBoundsOptions` interface extends `FlyToOptions` as that already extends `AnimationOptions & Camera Options`. |
||
|---|---|---|
| .. | ||
| index.d.ts | ||
| mapbox-gl-tests.ts | ||
| tsconfig.json | ||
| tslint.json | ||