nakijun / morisoliver

Automatically exported from code.google.com/p/morisoliver
0 stars 0 forks source link

Add ability to disable editing for a layer at certain scales #160

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It can be important to ensure that users edit data at an appropriate scale. For 
example, if the user is too far zoomed out they may not be drawing the data 
carefully enough. We can control this to some degree by not drawing the data at 
certain scales (if you can't see it you can't edit it), but we may wish to show 
the data at certain scales (so the user can recognize where they are), but only 
allow editing at certain zoomed in scales.  We could possibly reuse the concept 
of the yellow exclamation point, or add a different (orange exclamation point 
perhaps) with a similar message about what scale range editing is allowed at. 

Dan Koch of DCR suggested. 

Original issue reported on code.google.com by Aleda.Fr...@state.ma.us on 27 Jun 2012 at 5:59

GoogleCodeExporter commented 9 years ago

Original comment by Aleda.Fr...@state.ma.us on 27 Jun 2012 at 6:00

GoogleCodeExporter commented 9 years ago
Dan Koch: I would say that adding exclamation points may get confusing 
especially since the layer may not be visible when zoomed to the state so it 
will get a yellow exclamation point.  Would it then have to have an orange one 
as well?  I think it’s simpler, although less descriptive to just disable the 
edit tool at inappropriate scales.  Perhaps mouse-over text associated with the 
edit tool to describe the editable scale range?

Aleda: Good point, since there would likely only be 1 editable layer (or at 
most a few) per viewer that info could be communicated elsewhere.  Otherwise 
you might have a yellow AND an orange, too much clutter. More important to stop 
the editing at inappropriate scales than to indicate to the user.

Original comment by Aleda.Fr...@state.ma.us on 27 Jun 2012 at 6:33