Skip to content

Commit

Permalink
remove debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Jul 22, 2013
1 parent d5737d6 commit bafde2d
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions src/render.cpp
Expand Up @@ -2,7 +2,6 @@
// node
#include <node_object_wrap.h>


// mapnik
#include <mapnik/map.hpp>
#include <mapnik/layer.hpp>
Expand All @@ -19,7 +18,6 @@
#include <mapnik/scale_denominator.hpp>
#include <mapnik/image_compositing.hpp>


// stl
#include <vector>

Expand All @@ -36,29 +34,6 @@
#include <boost/make_shared.hpp>

namespace node_mapnik {
/*
var tile = new mapnik.Tile(z,x,y);
tile.render();
var opts = { scale_factor:2, buffer_size:256 };
var sources = [
vtile,
{'name':image},
vtile
];
mapnik.render(z,x,y,map,sources,image,opts,function(err,image) {
ren = agg_renderer;
for layer_name in map:
source = sources.find(layer_name);
if (vector):
ren.apply_to_layer(layer,map.styles())
else if (raster)
ren.apply_to_image()
});
*/

struct render_baton_t {
uv_work_t request;
Expand Down

0 comments on commit bafde2d

Please sign in to comment.