void feature_style_processor<Processor>::apply_to_layer(layer const& lay, Processor & p, projection const& proj0, double scale, double scale_denom, unsigned width, unsigned height, box2d<double> const& extent, int buffer_size, std::set<std::string>& names) { feature_style_context_map ctx_map; layer_rendering_material mat(lay, proj0); prepare_layer(mat, ctx_map, p, scale, scale_denom, width, height, extent, buffer_size, names); prepare_layers(mat, lay.layers(), ctx_map, p, scale_denom); if (!mat.active_styles_.empty()) { render_material(mat,p); render_submaterials(mat, p); } }