Skip to content

Commit

Permalink
Merge pull request #425 from AgenceBio/feature/ajout-rpg
Browse files Browse the repository at this point in the history
feat: Changement RPG 2023
  • Loading branch information
GregoireDucharme authored Dec 17, 2024
2 parents 9ffd747 + fb469d5 commit 5d368bf
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .env.local.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VUE_APP_API_ENDPOINT=http://localhost:8000/api
#VUE_APP_API_ENDPOINT=https://cartobio.agencebio.org/api
VUE_APP_MATOMO_SITE_ID=245
VUE_APP_PRELOADED_CAMPAGNE_PAC=2022
VUE_APP_PRELOADED_CAMPAGNE_PAC=2023
VUE_APP_SENTRY_DSN=
VUE_APP_NOTIFICATIONS_AB_SAMPLE_WEBCOMPONENT_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJudW1lcm9CaW8iOiIzMDAyMiIsInVzZXJJZCI6MTUxMjQzfQ.-_Aw96p4KZw7CzsOe9VMdoD0GyVl1oO2rctkYztpOGc
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
env:
VUE_APP_MATOMO_SITE_ID: 10
VUE_APP_API_ENDPOINT: "https://cartobio.agencebio.org/api"
VUE_APP_PRELOADED_CAMPAGNE_PAC: 2022
VUE_APP_PRELOADED_CAMPAGNE_PAC: 2023
VUE_APP_PRODUCTION: true
VUE_APP_ENVIRONMENT: production
VUE_APP_SENTRY_DSN: ${{ secrets.VUE_APP_SENTRY_DSN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
env:
VUE_APP_MATOMO_SITE_ID: 11
VUE_APP_API_ENDPOINT: "https://cartobio-preprod.agencebio.org/api"
VUE_APP_PRELOADED_CAMPAGNE_PAC: 2022
VUE_APP_PRELOADED_CAMPAGNE_PAC: 2023
VUE_APP_ENVIRONMENT: staging
VUE_APP_SENTRY_DSN: ${{ secrets.VUE_APP_SENTRY_DSN }}
VUE_APP_GIT_COMMIT_SHA: ${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
env:
VUE_APP_MATOMO_SITE_ID: 245
VUE_APP_API_ENDPOINT: "https://cartobio-test.agencebio.org/api"
VUE_APP_PRELOADED_CAMPAGNE_PAC: 2021
VUE_APP_PRELOADED_CAMPAGNE_PAC: 2023
VUE_APP_ENVIRONMENT: test
VUE_APP_SENTRY_DSN: ${{ secrets.VUE_APP_SENTRY_DSN }}
VUE_APP_GIT_COMMIT_SHA: ${{ github.sha }}
Expand Down
10 changes: 5 additions & 5 deletions src/map-styles/surroundings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"sources": {
"rpg-anon": {
"type": "vector",
"tiles": ["https://cartobio.agencebio.org/tiles/rpg-2022/{z}/{x}/{y}.pbf"],
"tiles": ["https://cartobio.agencebio.org/tiles/rpg-2023/{z}/{x}/{y}.pbf"],
"attribution": "<a href='https://www.data.gouv.fr/fr/dataset/616d6531c2951bbe8bd97771' target='_blank'>Parcelles en Agriculture Biologique (AB) déclarées à la PAC</a>"
}
},
"layers": [
{
"id": "rpg-anon-2022-fill",
"id": "rpg-anon-2023-fill",
"type": "fill",
"source": "rpg-anon",
"source-layer": "rpg2022",
"source-layer": "rpg2023",
"minzoom": 8,
"maxzoom": 24,
"paint": {
Expand All @@ -32,10 +32,10 @@
}
},
{
"id": "rpg-anon-2022-border",
"id": "rpg-anon-2023-border",
"type": "line",
"source": "rpg-anon",
"source-layer": "rpg2022",
"source-layer": "rpg2023",
"minzoom": 8,
"maxzoom": 24,
"paint": {
Expand Down

0 comments on commit 5d368bf

Please sign in to comment.