settings “Remember Layer Visibilities” and “Remember Map Extent”
It would be very useful to be able to set the settings “Remember Layer Visibilities” and “Remember Map Extent” in the app designer of VS Mobile with the possibility that the user can't change them on the level of his Vertigis Studio Go application.
Use case: setting layer definitions on layers at startup. You could at startup set the layers as not visible, set layer definitions and then turn on the layers. If the user however has the setting “Remember layer visibilities” on, it will first shortly show all features to the user before the startup workflow has set the layer definitions.
-
Commentaire officiel
Hi Lore,
One way to work around this right now would be to create a Workflow which programmatically turns off those two settings, and then run it from the Map Initializing event, so the settings get turned off before the map is loaded on app startup.
This answer from Jack Basha demonstrates how to programmatically change the app settings:
https://support.vertigis.com/hc/en-us/community/posts/22299794587154/comments/22787561460370In his example it's to change the PhotoResize option, so you would just have to modify it a little to set RememberLayerVisibilities and RememberMapExtent to false instead.
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire