export function svgOsm() { return function drawOsm(selection) { var layers = selection.selectAll('.layer-osm') .data(['areas', 'lines', 'hit', 'halo', 'label']); layers.enter() .append('g') .attr('class', function(d) { return 'layer-osm layer-' + d; }); }; }