Skip to main content

Filter: gfpdf_gv_static_map_max_height

Ceiling (mm) on the printed height of a Static Map. Return 0 to remove it.

Expressed in millimetres because it is emitted as CSS and resolved by mPDF against the column it lands in — the width is never known here. See {@see \DEFAULT_MAX_HEIGHT_MM} for why one exists at all; removing it lets a Portrait map in a full-width column take a page of its own.

Parameters

NameTypeDescription
$mmintCeiling in millimetres.
$view\ViewThe View being rendered.
$contextstringRenderContext::SINGLE or RenderContext::DIRECTORY — which document.
$shapestringSHAPE_ROW or SHAPE_DOCUMENT — which map within it. A full-width banner and a row tile want different ceilings and can share one document.

Since

  • 2.0

Source

Defined in src/Pdf/Maps/StaticMapRenderer.php at line 1726