| 1 | [[TranslatedPages]] |
| 2 | |
| 3 | = Locked Layer = |
| 4 | |
| 5 | **(For experts only)** |
| 6 | |
| 7 | An OSM [wiki:Help/Dialog/LayerList data layer] can be set to block any modification and implying the states [wiki:Help/Action/EncourageDiscourageUpload upload='never'] and [wiki:Help/Action/BlockDownload download='never']. |
| 8 | |
| 9 | == States == |
| 10 | |
| 11 | ||= '''icon ''' =||= '''state''' =||= '''osm element attribute''' =||= '''behaviour''' =||= '''how to set in GUI''' =|| |
| 12 | || [[Image(source:trunk/images/layer/osmdata_small.png)]] || (no change) || (optional: locked='false') || no special behaviour || the default state || |
| 13 | || [[Image(source:trunk/images/lock.svg,13px)]] || locked || `locked='true'` || modification of the data in this layer is not possible and uploads and downloads are blocked || not possible || |
| 14 | |
| 15 | == Code Example == |
| 16 | |
| 17 | Edit a .osm file in a text editor and use instead of the usual\\ |
| 18 | {{{<osm version='0.6' generator='JOSM'>}}}\\ |
| 19 | use\\ |
| 20 | {{{<osm version='0.6' generator='JOSM' locked='true'>}}}\\. |
| 21 | |
| 22 | ---- |
| 23 | Back to [wiki:Help/Dialog/LayerList Layer List Dialog][[BR]] |
| 24 | Back to [wiki:Help Main Help] |