Skip to content

Commit

Permalink
Merge pull request #1354 from Kocal/imp-ux-map-recipes
Browse files Browse the repository at this point in the history
[Symfony UX Map] Add post-install steps for Leaflet and Google, add "ux_map.google_maps.default_map_id" config recipe
  • Loading branch information
fabpot authored Nov 14, 2024
2 parents 21ffab2 + cda40e9 commit 4dbcd95
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions symfony/ux-google-map/2.19/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* <fg=blue>Read</> the documentation at <comment>https://github.com/symfony/ux/blob/2.x/src/Map/src/Bridge/Google/README.md</>
20 changes: 20 additions & 0 deletions symfony/ux-google-map/2.22/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"conflict": {
"symfony/flex": "<1.20.0 || >=2.0.0,<2.3.0"
},
"add-lines": [
{
"file": "config/packages/ux_map.yaml",
"position": "after_target",
"warn_if_missing": true,
"target": " renderer: '%env(resolve:default::UX_MAP_DSN)%'",
"content": " google_maps:\n # define the default map id for all maps (https://developers.google.com/maps/documentation/get-map-id)\n default_map_id: null"
}
],
"env": {
"#1": "Options available at https://github.com/symfony/ux/blob/2.x/src/Map/src/Bridge/Google/README.md",
"#2": "",
"GOOGLE_MAPS_API_KEY": "# Get your API key at https://developers.google.com/maps/documentation/javascript/get-api-key",
"UX_MAP_DSN": "google://%env(GOOGLE_MAPS_API_KEY)%@default"
}
}
1 change: 1 addition & 0 deletions symfony/ux-google-map/2.22/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* <fg=blue>Read</> the documentation at <comment>https://github.com/symfony/ux/blob/2.x/src/Map/src/Bridge/Google/README.md</>
1 change: 1 addition & 0 deletions symfony/ux-leaflet-map/2.19/post-install.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* <fg=blue>Read</> the documentation at <comment>https://github.com/symfony/ux/blob/2.x/src/Map/src/Bridge/Leaflet/README.md</>

0 comments on commit 4dbcd95

Please sign in to comment.