Any one knows how to toggle/turn on/off the Drawing measurement lines only?
Folks, with Amanda Frech from LG's help, we now do have a toggle tool for turning measurment lables on or off (https://communities.geocortex.com/s/question/0D5f200004wvzy4CAA/toggle-measurement-labels-in-the-geocortex-html5-viewer-using-workflow-5) . However, what I really need is a toggle tool that will turn polyline lables on/off while leaving the polygon drawn label as it is. Better yet two tools each acting on polyline and polygons seperately. Anyone had any luck, I hope Justin Kraemer and Marshall Boyd will stumble into this post beside the LG team. Any inputs, suggestions are welcomed. I will have followup posts regarding what I did and found.
Thanks,
Deep N Bhari
0
-
Hi Deep Bhari,
The viewer command to toggle labels requires an Essentials Layer object that you can't generate using workflow https://docs.geocortex.com/essentials/gvh/latest/commands-help/#/commands/Label%20Options/ToggleDynamicLabels. That leaves one of two options as far as I know:
1. Create a workflow to draw a totally new graphics layer with just the labels. This will be awkward if it's a big layer with 1000+ features because the workflow would have to query for and draw all of them
2. Use workflow 5 and see if we can use Get Layer, and find a property directly on the layer object that can be used to toggle labels. This would be pretty clean on the map, but it probably wouldn't be reflected in prints/exports, since we're not changing any Essentials objects, just Esri ones.
I hope this helps.
-Jeremy0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar