Api changes between v2.3 and v3.0
- Support for
-ansiflag / non-c++11 compile. Starting at 3.x a compiler that recognizes
paths-from-xmloption from the
<Map>XML parser (https://github.com/mapnik/mapnik/issues/1893)
TextSymbolizer. Just use
Formatwhich now supports expressions for all properties (For now
ExpressionFormatis deprecated and will be parsed automatically into
bilinear8(raster scaling option) was obsolete and therefore removed.
blendmethod removed from
Imageobject in python bindings. The same actions can be accomplished with the
compositefunction and src_over method.
backgroundproperty in python bindings has been removed, added the
fillmethod to replace all its functionality.
clip:falsein all symbolizers (previous default was
clip:true) - https://github.com/mapnik/mapnik/issues/2146
- In C++
mapnik::Map::addLayerwas changed to
- In C++
mapnik::Map::removeLayerwas changed to
- In C++
mapnik::Map::getLayerwas changed to
polygon_pattern_symbolizerto default to
- CSV plugin now parses and stores the strings of
"false"as boolean types (rather than strings) - https://github.com/mapnik/mapnik/issues/1540
TextSymbolizerline wrapping behavior has now changed: previously line wrapping only happened on ascii whitespace (if
wrap-characterwas not provided) but now it happens on any valid wrapping characters as determined by the default locale and the behavior of the
TextSymbolizershould behave similarly as 2.3 but the code to support it was completely re-written so there may be slight differences in render: https://github.com/mapnik/mapnik/issues/2333
lineplacement and two new
vertex-firstto place a single marker at the end or beginning of a path. Also
clipis now respected when rendering markers on a LineString geometry.