Skip to content

[Map] Add fitBoundsToMarkers option to Twig extension and component - #3114

Merged
Kocal merged 1 commit into
symfony:2.xfrom
ker0x:feat/map-fit-bounds-to-markers
Oct 2, 2025
Merged

Kocal merged 1 commit into
symfony:2.xfrom
ker0x:feat/map-fit-bounds-to-markers

Conversation

@ker0x

@ker0x ker0x commented Sep 30, 2025

Copy link
Copy Markdown
Contributor
Q A
Bug fix? no
New feature? yes
Deprecations? no
Documentation? yes
Issues -
License MIT

This PR add option fitBoundsToMarkers to the Twig function and component because currently, when using the twig function or component by passing an array of markers without specifying the center and zoom, this throws an exception due to fitBoundsToMarkers set to false by default.

@ker0x
ker0x requested a review from Kocal as a code owner September 30, 2025 09:56
@carsonbot carsonbot added Documentation Improvements or additions to documentation Feature New Feature Map Status: Needs Review Needs to be reviewed labels Sep 30, 2025
@carsonbot carsonbot added Status: Reviewed Has been reviewed by a maintainer and removed Status: Needs Review Needs to be reviewed labels Sep 30, 2025
Comment thread src/Map/CHANGELOG.md Outdated
@Kocal
Kocal force-pushed the feat/map-fit-bounds-to-markers branch from d82f855 to 44f9025 Compare October 2, 2025 06:39
@Kocal

Kocal commented Oct 2, 2025

Copy link
Copy Markdown
Member

Thank you @ker0x.

@Kocal
Kocal merged commit dbea936 into symfony:2.x Oct 2, 2025
@ker0x
ker0x deleted the feat/map-fit-bounds-to-markers branch October 2, 2025 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements or additions to documentation Feature New Feature Map Status: Reviewed Has been reviewed by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants