Turn on/off labels in Mobile
It would be nice if there would be a built-in (or API) command allowing us to configure buttons toggling on/off labels. This exists in VS Web but not (yet?) in Mobile.
-
We would really like the vertigis studio web functionality to be configurable in vertigis studio mobile as well, like being able to toggle the title show as false for component buttons as an example.
0 -
assigning the below show-title="false" to a component button xml landscape does not override in the studio go app as intended for the VertiGIS Studio Mobile Version 5.29.0. This same technique cannot be applied to android mobile phone portrait.xml as it is using a different geocortex default template reference that does not point to the component button. At present i do not have the ability to change this in a workaround or through the out of the box method. I do not wish to write my own visual studio buttons.
ex for landscape.xml:
<button id="button-a88c99b5" show-title="false" config="f0655526-7a2c-4065-821a-20dc4334b9b4" style="round" margin="0.2857142857142857"/>
0 -
After some digging I can now get the landscape to work modifying the .xml. Two things to check:
1) windows 11 changed their .zip root nesting functionality and I had to zip the files instead of the folder out of box to prevent the folder from nesting within another folder.
2) the landscape.xml became corrupt on layout element as end of file (I used xml notepad to verify and fix the integrity of the xml structure).
The landscape now works in windows for the app using this workaround, however I need to find a way to get this same button hide “workaround” working in the portrait piece for android mobile phone since the landscape works.
0 -
Any updates regarding this to toggle off/on labels for the layers in VertiGIS Mobile?
0 -
Hi all,
I am Jack from the Mobile team here to answer your questions and reply to your comments. Thank you for helping contribute ideas to Mobile, and apologies for the time it took to get back to you.
Victor Soenens, Jeremy Luttrell I can dig around and find out when this was added, but the ability to turn off labels for buttons is already in Studio Mobile. Screenshot is taken from VSM 5.36 but I know it also worked in VSM 5.35.
Andreas Broothaerts I am not sure what you mean by that. Turning off labels in the layer list would make it impossible to identify layers, no? Or do you just mean to turn off the labels for the taskbar component?
0 -
Jack Basha Hi, my bad I misunderstood this topic. From my understanding it was to set the labeling off in the map for the layers. I found out it can be done in the following way on the desired layers. A set layer property activity with the name labelsEnabled and value false/true. Just posting it here, if someone is searching for this.
0 -
Andreas Broothaerts Ah I see. All good! And thanks for sharing your solution :)
0
Please sign in to leave a comment.
Comments
7 comments