Layer Filtering Attribute

6 views
Skip to first unread message

Jacob Fullerton

unread,
Jul 6, 2016, 1:28:42 PM7/6/16
to Tethys Platform
As I've been working on the delete gizmo, I realized that the Tethys_Map_View gizmo does not have a way to distinguish between layers that are 'editable' and 'not-editable.' Could we have an attribute added to the MVLayer object that would allow the user to lock defined layers and prevent them from being edited by any of the gizmos in Tethys_Map_View. In other words, I want to prevent users from doing this to my layer (see screenshot below):
7.6.16_Layer Filtering.PNG

swainn

unread,
Jul 6, 2016, 5:58:04 PM7/6/16
to Tethys Platform
+1

We could add an attribute to MVLayers called "editable" or "feature_editable" and check for that be for doing any editing. We may want to give even more control by adding a bunch of attributes like "movable", "deletable", "selectable", etc.
Reply all
Reply to author
Forward
0 new messages