File tree Expand file tree Collapse file tree 5 files changed +44
-0
lines changed Expand file tree Collapse file tree 5 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "conflict" : {
3+ "symfony/flex" : " <1.20.0 || >=2.0.0,<2.3.0"
4+ },
5+ "env" : {
6+ "#1" : " Options available at https://github.com/symfony/symfony-ux/blob/2.x/src/Map/src/Bridge/Google/README.md" ,
7+ "#2" : " " ,
8+ "GOOGLE_MAPS_API_KEY" : " # Get your API key at https://developers.google.com/maps/documentation/javascript/get-api-key" ,
9+ "UX_MAP_DSN" : " google://%env(GOOGLE_MAPS_API_KEY)%@default"
10+ }
11+ }
Original file line number Diff line number Diff line change 1+ {
2+ "conflict" : {
3+ "symfony/flex" : " <1.20.0 || >=2.0.0,<2.3.0"
4+ },
5+ "env" : {
6+ "#1" : " Options available at https://github.com/symfony/symfony-ux/blob/2.x/src/Map/src/Bridge/Leaflet/README.md" ,
7+ "#2" : " " ,
8+ "UX_MAP_DSN" : " leaflet://default"
9+ }
10+ }
Original file line number Diff line number Diff line change 1+ ux_map :
2+ # https://symfony.com/bundles/ux-map/current/index.html#available-renderers
3+ # renderer: '%env(UX_MAP_DSN)%'
Original file line number Diff line number Diff line change 1+ {
2+ "bundles" : {
3+ "Symfony\\ UX\\ Map\\ UXMapBundle" : [" all" ]
4+ },
5+ "conflict" : {
6+ "symfony/flex" : " <1.20.0 || >=2.0.0,<2.3.0"
7+ },
8+ "copy-from-recipe" : {
9+ "config/" : " %CONFIG_DIR%/"
10+ }
11+ }
Original file line number Diff line number Diff line change 1+ * You're near ready to use the Symfony UX Map component. You can create your first map
2+ by using the <info>Map</info> class, but you will not be able to render it yet until you:
3+
4+ 1. Install the Symfony UX Map Bridge you want to use, they can be
5+ found at <comment>https://symfony.com/bundles/ux-map/current/index.html#available-renderers</>.
6+ 2. Uncomment the <info># renderer: '%env(UX_MAP_DSN)%'</> line
7+ in <comment>config/packages/ux_map.yaml</>;
8+
9+ * <fg=blue>Read</> the documentation at <comment>https://symfony.com/bundles/ux-map/current/index.html</>
You can’t perform that action at this time.
0 commit comments