Function getPaddedViewport
- getPaddedViewport(
bounds: LatLngBounds,
projection: MapCanvasProjection,
pixels: number,
): [number, number, number, number] Parameters
- bounds: LatLngBounds
- projection: MapCanvasProjection
- pixels: number
Returns [number, number, number, number]
Gets the extended bounds as a bbox [westLng, southLat, eastLng, northLat]