Skip to main content

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

NameTypeDescription
$boundsarray|null[min_lat, max_lat, min_lng, max_lng] or null.
$view\ViewThe View.

Since

  • 3.10.0

Source

Defined in src/Rest_Infowindow.php at line 404