-
Notifications
You must be signed in to change notification settings - Fork 10
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
cadastre layer always added on top when opening cadastrapp #166
Comments
Hello @landryb Need investiguation / confirmation but for me you need to clearly separate 2 concepts :
See the requirements : https://docs.georchestra.org/cadastrapp/latest/guide_installation/couches_applicatives.html#publication-des-couches-applicatives |
i'm pretty sure i have all this right in the config:
|
@pierrejego thinks that the check to add or not the layer is done on the internal layer id - eg here the layer with id previously in mfapp, the check was done on the layer url/name, which is what we expect here. I don't want to have to fiddle with the json stored in the db to set an internal layer id to some arcane constant, if that's the case... |
that's a difference in behaviour with what we have in mapfishapp, and i'm pretty sure this was specified:
if the cadastre layer is already present in the map (eg same url/ WMS/WMTS mode), right now ms2-cadastrapp adds it inconditionally on top.
That's annoying if you've built a map with other layers above the cadastre layer, which are now hidden behind the duplicate cadastre layer.
That also generates useless requests.. in mapfishapp we had an heuristic to avoid loading again the layer if it was already present in the context.
@catmorales @MaelREBOUX ?
The text was updated successfully, but these errors were encountered: