Filter: gfpdf_gv_static_map_size
Size requested from the Google Static Maps API, formatted as WIDTHxHEIGHT.
Driven by the "PDF Map Layout" setting (Square/Landscape/Portrait), set by self::SETTING_KEY and registered onto the field by Pdf\Maps\LayoutSetting, and by the map's shape — only a directory row asks for the smaller set. The PNG returned is these dimensions multiplied by {@see \scale()}, which is 1 for a row and 2 otherwise.
Raising this is not free of consequences beyond bytes: size is the viewport, so a larger value widens the geography shown rather than sharpening the same view.
Parameters
| Name | Type | Description |
|---|---|---|
| $size | string | Layout- and shape-aware WIDTHxHEIGHT. |
| $view | \View | The View being rendered. |
| $shape | string | SHAPE_ROW or SHAPE_DOCUMENT. |
Since
- 2.0
Source
Defined in src/Pdf/Maps/StaticMapRenderer.php at line 1696