format is type and type is event,raster, etc
use layergroup getdata with type filter to get events
zap console
Merge pull request #255 from nens/ernst_fix_layer_type_format

 format is type and type is event,raster, etc