From 37f852e9c28ec2eb403f8ca14fdb67c249fe2a06 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Wed, 7 Aug 2024 16:53:08 +0200 Subject: [PATCH] =?UTF-8?q?[Map]=C2=A0Specify=20"renderer"=20option,=20eve?= =?UTF-8?q?n=20if=20empty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- symfony/ux-map/2.19/config/packages/ux_map.yaml | 2 +- symfony/ux-map/2.19/post-install.txt | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/symfony/ux-map/2.19/config/packages/ux_map.yaml b/symfony/ux-map/2.19/config/packages/ux_map.yaml index 5e5bd287c..ce0f0c75f 100644 --- a/symfony/ux-map/2.19/config/packages/ux_map.yaml +++ b/symfony/ux-map/2.19/config/packages/ux_map.yaml @@ -1,3 +1,3 @@ ux_map: # https://symfony.com/bundles/ux-map/current/index.html#available-renderers - # renderer: '%env(UX_MAP_DSN)%' + renderer: '%env(resolve:default::UX_MAP_DSN)%' diff --git a/symfony/ux-map/2.19/post-install.txt b/symfony/ux-map/2.19/post-install.txt index 439fd90e7..814b7c24c 100644 --- a/symfony/ux-map/2.19/post-install.txt +++ b/symfony/ux-map/2.19/post-install.txt @@ -1,9 +1,6 @@ * You're near ready to use the Symfony UX Map component. You can create your first map - by using the Map class, but you will not be able to render it yet until you: - - 1. Install the Symfony UX Map Bridge you want to use, they can be - found at https://symfony.com/bundles/ux-map/current/index.html#available-renderers. - 2. Uncomment the # renderer: '%env(UX_MAP_DSN)%' line - in config/packages/ux_map.yaml; + by using the Map class, but you will not be able to render it yet until you + install the Symfony UX Map Bridge you want to use, they can be found at + https://symfony.com/bundles/ux-map/current/index.html#available-renderers. * Read the documentation at https://symfony.com/bundles/ux-map/current/index.html