Remove service from Service Drawing Order (html5 2.8)
My first impressions of html5 2.8 are great! The Layer Filtering and enhanced symbolisation feature are a welcom addtion.
Just wondering though, is it possible to remove a service from the Service Drawing Order Panel? I have a number of hidden services in the layer list that are required for other functionality within my site. However they are present when opening the Ordering Panel, I would like to either remove or hide these to avoid confusion.
Cheers
Chris
0
-
I also use hidden services and layers, so I'm also interested in this... 0 -
Even if there is some css trickery we could apply???? 0 -
I have played around with this today and have made a little but of progress
In the Custom desktop.css file I have added this:
.gcx-list-menu li:nth-child(n+33){
display:none;
}
What this does is hide all the services in the Service Drawing Order list from the 33rd one down. Which in my case was the last service I wanted to display
Obvioulsy there a couple caveats and assumptions when using this.
1. all the services you wish to hide are at the bottom /the last ones in the services list
2. If you add any new services you will need to adjust this number accordingly
3. This does not adjust the number of services identified in the first Drawing Order Panel eg Service Layers (39)
I am not sure whether this is the perfect or most appropriate solution. Plus I dont know if it breaks anything else, my testing hasnt discovered anything ... yet
Someone else may have a cleaner solution. But its a start!
Hopefully this might help others, or at the very least start them on the right track
Cheers0 -
Hi Chris,
Thank you for sharing your feedback and your findings. I think this one would be best posted as an (https://support.geocortex.com/GSCIdeas?c=09a6000000008RsAAI&filter=1&categ=all&sub-nav=ideas&main-nav=essentials&page=1) Idea so that users can vote to have some configuration added or behaviour changed for this. It looks like we inluded the (Not in layer list) text in the Drawing Order list to help alleviate confusion for cases where a layer appears there but not in the layer list, but it will be helpful to hear feedback or use cases if this isn't the way our users want it to work.
The one part that I can see being really tricky here (and maybe this is why the current behaviour exists) is how we would want to decide the order for layers that aren't visible in the order list when the layers around them are being moved. In your case, it sounds like they are all at the bottom so it wouldn't be a problem, but I could see hidden layers in the middle of the drawing order being an issue.
Thanks!
Amanda0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare