Files
iD/modules/svg/osm.js

11 lines
317 B
JavaScript

export function Osm() {
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; });
};
}