diff --git a/anotterweb/ux-location/1.0/config/packages/anotterweb_ux_location.yaml b/anotterweb/ux-location/1.0/config/packages/anotterweb_ux_location.yaml new file mode 100644 index 00000000..3457220a --- /dev/null +++ b/anotterweb/ux-location/1.0/config/packages/anotterweb_ux_location.yaml @@ -0,0 +1,9 @@ +anotterweb_ux_location: + mapbox_access_token: '%env(string:MAPBOX_ACCESS_TOKEN)%' + + # Optional configuration: + # default_map_style: 'mapbox://styles/mapbox/standard' + # default_zoom: 4 + # default_lat: 48.8566 + # default_lng: 2.3522 + # default_map_height: '300px' diff --git a/anotterweb/ux-location/1.0/manifest.json b/anotterweb/ux-location/1.0/manifest.json new file mode 100644 index 00000000..b52fe1b3 --- /dev/null +++ b/anotterweb/ux-location/1.0/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Anotterweb\\UxLocation\\AnotterwebUxLocationBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Get your Mapbox access token at https://account.mapbox.com/access-tokens/", + "MAPBOX_ACCESS_TOKEN": "" + } +} diff --git a/anotterweb/ux-location/1.0/post-install.txt b/anotterweb/ux-location/1.0/post-install.txt new file mode 100644 index 00000000..68d1a2f4 --- /dev/null +++ b/anotterweb/ux-location/1.0/post-install.txt @@ -0,0 +1,7 @@ + * The Anotterweb UX Location bundle has been configured. + + * Action required: + Open your .env file and set your Mapbox access token: + MAPBOX_ACCESS_TOKEN=your_token_here + + * Read the documentation at https://github.com/anotterweb/ux-location