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

feat(shared-thematic) : ajout de la couche "sites inscrits et classés" #43

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

MFrangi
Copy link
Collaborator

@MFrangi MFrangi commented Dec 10, 2024

No description provided.

if(layer.title === 'Coeurs de parcs nationaux' && feature.zone != 'Coeur') {
return false
} else if(layer.title === 'Zones d\'adhésion de parcs nationaux' && feature.zone != 'Adhesion') {
if((layer.title === 'Coeurs de parcs nationaux' && feature.zone != 'Coeur') ||
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ca vaudrait le coup de stocker les filtres dans la config

@@ -464,6 +464,30 @@ export const MAP_PATRIMOINE_LAYER_GROUP = new LayerGroup({
}
})
}),
new TileLayer({
properties: THEMATIC_LIST.find((g) => g.name === 'patrimoine')?.layers?.find((l) => l.technicalName === 'wfs_sup:assiette_sup_s' && l.title === 'Sites inscrits et classés'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ca vaudrait le coup d'identifier par un nom unique (garder wfsName / title et ajouter un name unique)

@cboucheIGN cboucheIGN merged commit 254cbf6 into main Dec 12, 2024
2 checks passed
@cboucheIGN cboucheIGN deleted the suptype-ac2 branch December 12, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants