/* possible types: traffic_jam, incident, speed_traps, accident */
var trafficeventsConfig = {
    'widgets': [
        {
            'id': 'myEvents',
            'type': 'trafficevents_1.0',
            'target': '#trafficEventsContainer',
            'labels':["Vanuit Brussel", "Naar/in Brussel", "Vanuit Antwerpen", "Naar/in Antwerpen", "Alles Behalve Wegenwerken"],
            //["road_work", "traffic_jam", "speed_traps", "incident", "accident"]
            //'filterLabels':{"Files", "Ongevallen", "Congesties", "Incidenten", "Werkzaamheden", "Radarcontroles"},
            'hideDisplayedItems':[4],
			'typeFilter':{
                "incident":"Incidenten",
                "accident":"Ongevallen",
                "speed_traps":"Radarcontroles",
                "road_work":"Werkzaamheden",
                "traffic_jam":"Files"
            },

            'filters':[
                       {'label':'Vanuit Brussel', 'filter':'from', 'city':'Brussel'},
                       {'label':'Naar/in Brussel', 'filter':'to', 'city':'Brussel'},
                       {'label':'Vanuit Antwerpen', 'filter':'from', 'city':'Antwerpen'},
                       {'label':'Naar/in Antwerpen', 'filter':'to', 'city':'Antwerpen'}
                       ],
            'showOthers':true,
			'variaLabel':'Andere richtingen',
            'sections': 
                [
                    {"index":0,"filters":{"from":"Brussel","type":"speed_traps"}},
                    
                    {"index":1,"filters":{"in":"Brussel","type":"speed_traps"}},
                    
                    {"index":1,"filters":{"to":"Brussel","type":"speed_traps"}},
                    
                    {"index":2,"filters":{"from":"Antwerpen","type":"speed_traps"}},
                    
                    {"index":3,"filters":{"in":"Antwerpen","type":"speed_traps"}},
                    
                    {"index":3,"filters":{"to":"Antwerpen","type":"speed_traps"}},
                    
                    {"index":4,"filters":{"type":"speed_traps"}}
                ]
        }
    ]
};
serviceWidgetConfigs.push(trafficeventsConfig);

