Changelog
1.0.0
deprecated
, unstable
or experimental
.
There is a new command line / API switch (-q / --quiet
/ quiet
) to suppress those warnings. (#474)-f / --file
to specify a file for output instead of stdout
.-o / --output
/ outputFormat
) to choose the output format. Possible values are mapnik
(default)
for Mapnik XML and json
for the JSON variant (part of #413).
For Mapnik XML all character data as tag content is now prefixed with CDATA.[height] % 50 = 0
or [height] + 10 = 0
, fields have to be properly written within brackets
(#377)line: none
to suppress output
of the line symbolizer for this definition. Write e.g. marker: auto
to output a markers symbolizer with default values. Symbolizer rules
are considered an advanced features and are never inherited to other definitions (#477).millstone
from optional dependencies again (#482).name
attribute for layers is no longer supported. Use id
instead.husl
and husla
are no longer supported. Use hsluv
and hsluva
instead.carto.Renderer.render
and carto.Renderer.renderMSS
now return an object { msg: Array, data: String }
instead of just a
string. data
contains the output as before and msg
now contains an array of error or warning objects.
In case of errors data
is null
.msg
property (see above).carto.Renderer
now only takes one options object
instead of a env
and options
parameter.mapnik_version
and validation_data
of carto.Renderer
have
been renamed to version
and validationData
respectively.carto.Renderer
now checks each option before forwarding them to the rendering
chain. Supported options are defined in the documentation. If you use a option that is
missing please open a issue.Changelog
0.18.1
mapnik-reference
to fix an install problem for some Node.js versionsChangelog
0.17.2
carto
. The NPM requirement is dropped.none
(#214)