# CHANGELOG
 
## 2.22

-   Add method `Symfony\UX\Map\Renderer\AbstractRenderer::tapOptions()`, to allow Renderer to modify options before rendering a Map.
-   Add `ux_map.google_maps.default_map_id` configuration to set the Google ``Map ID``
-   Add `ComponentWithMapTrait` to ease maps integration in [Live Components](https://symfony.com/bundles/ux-live-component/current/index.html)
-   Add `Polyline` support

## 2.20

-   Deprecate `render_map` Twig function (will be removed in 2.21). Use 
    `ux_map` or the `<twig:ux:map />` Twig component instead.
-   Add `ux_map` Twig function (replaces `render_map` with a more flexible 
    interface)
-   Add `<twig:ux:map />` Twig component
-   The importmap entry `@symfony/ux-map/abstract-map-controller` can be removed
    from your importmap, it is no longer needed. 
-   Add `Polygon` support

## 2.19

-   Component added
