Files
iD/modules/svg/osm.js
2016-06-16 11:58:23 -07:00

10 lines
304 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; });
};
}