Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Symfony UX Map] Add post-install steps for Leaflet and Google, add "ux_map.google_maps.default_map_id" config recipe #1354

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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</>
Loading