Files
iD/modules/svg/osm.js
2016-10-04 19:06:20 -04:00

11 lines
320 B
JavaScript

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; });
};
}