import mapnik m = mapnik.Map(256,256) mapnik.load_map(m, "path/to/file.xml") m.zoom_all() mapnik.render_to_file(m, "the_image.png") var mapnik = require("mapnik"); var fs = require("fs"); mapnik.register_default_fonts(); mapnik.register_default_input_plugins(); var map = new mapnik.Map(256, 256); map.load("./test/stylesheet.xml", function(err, map) { map.zoomAll(); var im = new mapnik.Image(256, 2
{{#tags}}- {{label}}
{{/tags}}