Skip to content

Commit

Permalink
fixup cruft in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Dec 6, 2012
1 parent 3f60fad commit efd9ec2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/simple/render.js
Expand Up @@ -26,7 +26,7 @@ var map = new mapnik.Map(600, 400);

map.loadSync(stylesheet);
map.zoomAll();
map.renderFileSync(image, {scale:20});
map.renderFileSync(image);

console.log('rendered map to ' + image);
child_process.exec('open ' + image);
11 changes: 6 additions & 5 deletions examples/simple/simple_express.js
Expand Up @@ -4,11 +4,12 @@
//
// expected output: http://goo.gl/cyGwo

var mapnik = require('mapnik'),
express = require('express'),
path = require('path'),
app = express.createServer(),
port = 8000;
var mapnik = require('mapnik');
var express = require('express');
var path = require('path');

var app = express();
var port = 8000;

app.get('/', function(req, res) {
var map = new mapnik.Map(256, 256);
Expand Down

0 comments on commit efd9ec2

Please sign in to comment.