diff --git a/lib/carto/renderer.js b/lib/carto/renderer.js index dc5df7d..31c5678 100644 --- a/lib/carto/renderer.js +++ b/lib/carto/renderer.js @@ -4,7 +4,7 @@ var carto = require('./index'); carto.Renderer = function Renderer(env, options) { this.env = env || {}; this.options = options || {}; - this.options.mapnik_version = this.options.mapnik_version || 'latest'; + this.options.mapnik_version = this.options.mapnik_version || '3.0.0'; }; /** diff --git a/lib/carto/tree/reference.js b/lib/carto/tree/reference.js index c8edbd2..de0945a 100644 --- a/lib/carto/tree/reference.js +++ b/lib/carto/tree/reference.js @@ -214,8 +214,6 @@ ref.validValue = function(env, selector, value) { } }; -ref.setVersion('latest'); - tree.Reference = ref; })(require('../tree')); diff --git a/package.json b/package.json index bbcb52e..6c058f1 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ }, "dependencies": { "underscore": "~1.6.0", - "mapnik-reference": "~6.0.0", + "mapnik-reference": "~6.0.1", "optimist": "~0.6.0" }, "devDependencies": {