---
id: gravityview-maps-viewport-loading-dataset-bounds
title: "Filter - gravityview/maps/viewport-loading/dataset-bounds"
sidebar_label: "gravityview/maps/viewport-loading/dataset-bounds"
tags:
  - "3.10.0"
---

# Filter: gravityview/maps/viewport-loading/dataset-bounds

Filters the bounding box used to frame a viewport map's initial (bare-URL) view. Return null to skip auto-framing so the map uses its configured center/zoom instead.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $bounds | `array\|null` | [min_lat, max_lat, min_lng, max_lng] or null. |
| $view | `\View` | The View. |

### Since

- 3.10.0

### Source

Defined in `src/Rest_Infowindow.php` at line 404

