<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    A setAttributeToolBox defines a Toolbox containing buttons.
	Each button set one or more attributes in selected features.
	The toolbox has 3 attributes :
	- title : title of the toolbox
	- maxCol : maximum number of buttons in one row
    - iconSize : icon size
-->	
<setAttributesToolbox title="MaxSpeedSet" maxCol="5" iconWidth="36" iconHeight="24">

    <!--
    A button has five optional attributes
        icon : path of the png or jpg icon (path is relative to the xml file)
        text : if icon is not defined, this text is displayed
        atomic (default is false) : if atomic is set to true, all attributes
		    of a single object will be changed or none.
			setting atomic to false may be useful to create a single button
			to change different values depending on the schema of the feature
        layer : only features of these layers are changed. Layer name can be one of
			- simple name (ex. "road")
			- name with glob (ex. "road*" includes road, road1, road2)
			- regex between / (ex. "/road.*|highway/")
		tooltip : tooltip to dispoverflying the button
    -->

    <button icon="img/361[5].png" text="5" atomic="true" layer="layerName" tooltip="5 km/h">
        <attribute name="MaxSpeed" value="5"/>
    </button>
    <button icon="img/361[10].png" text="10" atomic="true" layer="layerName" tooltip="10 km/h">
        <attribute name="MaxSpeed" value="10"/>
    </button>
    <button icon="img/361[15].png" text="15" atomic="true" layer="layerName" tooltip="15 km/h">
        <attribute name="MaxSpeed" value="15"/>
    </button>
    <button icon="img/361[20].png" text="20" atomic="true" layer="layerName" tooltip="20 km/h">
        <attribute name="MaxSpeed" value="20"/>
   </button>
   <button icon="img/361[25].png" text="25" atomic="true" layer="layerName" tooltip="25 km/h">
        <attribute name="MaxSpeed" value="25"/>
    </button>
    <button icon="img/361[30].png" text="30" atomic="true" layer="layerName" tooltip="30 km/h">
        <attribute name="MaxSpeed" value="30"/>
    </button>
    <button icon="img/361[40].png" text="40" atomic="true" layer="layerName" tooltip="40 km/h">
        <attribute name="MaxSpeed" value="40"/>
   </button>
	    <button icon="img/361[50].png" text="50" atomic="true" layer="layerName" tooltip="50 km/h">
        <attribute name="MaxSpeed" value="50"/>
    </button>
	    <button icon="img/361[60].png" text="60" atomic="true" layer="layerName" tooltip="60 km/h">
        <attribute name="MaxSpeed" value="60"/>
    </button>
	    <button icon="img/361[70].png" text="70" atomic="true" layer="layerName" tooltip="70 km/h">
        <attribute name="MaxSpeed" value="70"/>
    </button>
	    <button icon="img/361[80].png" text="80" atomic="true" layer="layerName" tooltip="80 km/h">
        <attribute name="MaxSpeed" value="80"/>
    </button>
    <button icon="img/361[90].png" text="80" atomic="true" layer="layerName" tooltip="90 km/h">
        <attribute name="MaxSpeed" value="90"/>
    </button>
	    <button icon="img/361[100].png" text="100" atomic="true" layer="layerName" tooltip="100 km/h">
        <attribute name="MaxSpeed" value="100"/>
    </button>
		    <button icon="img/361[120].png" text="120" atomic="true" layer="layerName" tooltip="120 km/h">
        <attribute name="MaxSpeed" value="120"/>
    </button>
	    <button icon="img/551[right].png" text="" atomic="true" layer="layerName" tooltip="One way">
        <attribute name="OneWay" value="1"/>
    </button>
		    <button icon="img/331.png" text="" atomic="true" layer="layerName" tooltip="One way (opposite)">
        <attribute name="OneWay" value="-1"/>
    </button>
	


</setAttributesToolbox>