You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a map you can set zoom/center and fitBoundsToMarkers (true). This works fine because when you don't have markers the zoom/center will be used from the configuration. And when there are markers fitBoundsToMarkers will be activated.
When using a live component for adding new markers then fitBoundsToMarkers is always set to false when there is a zoom/center configured (https://github.com/symfony/ux/blob/2.x/src/Map/src/Map.php#L181). Both options can exist together. Now you get the situation that as there a no markers you see a grey map instead of the default zoom/center.
It is possible to use the configured value for fitBoundsToMarkers?
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
When creating a map you can set zoom/center and fitBoundsToMarkers (true). This works fine because when you don't have markers the zoom/center will be used from the configuration. And when there are markers fitBoundsToMarkers will be activated.
When using a live component for adding new markers then fitBoundsToMarkers is always set to false when there is a zoom/center configured (https://github.com/symfony/ux/blob/2.x/src/Map/src/Map.php#L181). Both options can exist together. Now you get the situation that as there a no markers you see a grey map instead of the default zoom/center.
It is possible to use the configured value for fitBoundsToMarkers?
The text was updated successfully, but these errors were encountered: