Files
iD/js/id/svg/surface.js
John Firebaugh 3000bc89ce shadow should be above fill
Makes it much easier to select lines that are within areas.
2013-02-03 08:49:43 -08:00

12 lines
370 B
JavaScript

iD.svg.Surface = function() {
return function drawSurface(selection) {
selection.append('defs');
var layers = selection.selectAll('.layer')
.data(['fill', 'shadow', 'casing', 'stroke', 'text', 'hit', 'halo', 'label']);
layers.enter().append('g')
.attr('class', function(d) { return 'layer layer-' + d; });
};
};