From ca2e884037cf34994050d4ad22fef0e7c6ad07a1 Mon Sep 17 00:00:00 2001 From: springmeyer Date: Sat, 6 Sep 2014 21:25:49 -0700 Subject: [PATCH] Updated Api changes between v2.3 and v3.0 (markdown) --- ...md => Api changes between v2.3 and v3.0.md | 39 ++++++++++--------- 1 file changed, 20 insertions(+), 19 deletions(-) rename Api-changes-between-v2.3-and-v3.0.md => Api changes between v2.3 and v3.0.md (76%) diff --git a/Api-changes-between-v2.3-and-v3.0.md b/Api changes between v2.3 and v3.0.md similarity index 76% rename from Api-changes-between-v2.3-and-v3.0.md rename to Api changes between v2.3 and v3.0.md index 6b72cf8..3b8b9a9 100644 --- a/Api-changes-between-v2.3-and-v3.0.md +++ b/Api changes between v2.3 and v3.0.md @@ -1,19 +1,20 @@ -## Removed - - - Support for `-ansi` flag / non-c++11 compile. Starting at 3.x a compiler that recognizes `-std=c++11` is required. - - Removed `paths-from-xml` option from the `` XML parser (https://github.com/mapnik/mapnik/issues/1893) - - `ExpressionFormat` in `TextSymbolizer`. Just use `Format` which now supports expressions for all properties. - - `wrap-char` (aka `wrap-character`) property for `TextSymbolizer`: https://github.com/mapnik/mapnik/issues/2333 - - `bilinear8` (raster scaling option) was obsolete and therefore removed. - -## Changed - - - Made `clip:false` in all symbolizers (previous default was `clip:true`) - https://github.com/mapnik/mapnik/issues/2146 - - In C++ `mapnik::Map::addLayer` was changed to `mapnik::Map::add_layer` - - In C++ `mapnik::Map::removeLayer` was changed to `mapnik::Map::remove_layer` - - In C++ `mapnik::Map::getLayer` was changed to `mapnik::Map::get_layer` - - Changed `polygon_pattern_symbolizer` to default to `global` rather than `local` for the `alignment`. - - CSV plugin now parses and stores the strings of `"true"`, and `"false"` as boolean types (rather than strings) - https://github.com/mapnik/mapnik/issues/1540 - - Default PNG output now is paletted using the high quality alpha-preserving `hextree` encoder (what used to be only possible with `png8:m=h`. This is now triggered when the `png` format string is used. Use `png32` to maintain rendering of full color rgba images as previously. More details at [this ticket](https://github.com/mapnik/mapnik/issues/2028) and [[Image-IO]] - -## Added +## Removed + + - Support for `-ansi` flag / non-c++11 compile. Starting at 3.x a compiler that recognizes `-std=c++11` is required. + - Removed `paths-from-xml` option from the `` XML parser (https://github.com/mapnik/mapnik/issues/1893) + - `ExpressionFormat` in `TextSymbolizer`. Just use `Format` which now supports expressions for all properties. + - `wrap-char` (aka `wrap-character`) property for `TextSymbolizer`: https://github.com/mapnik/mapnik/issues/2333 + - `bilinear8` (raster scaling option) was obsolete and therefore removed. + +## Changed + + - Made `clip:false` in all symbolizers (previous default was `clip:true`) - https://github.com/mapnik/mapnik/issues/2146 + - In C++ `mapnik::Map::addLayer` was changed to `mapnik::Map::add_layer` + - In C++ `mapnik::Map::removeLayer` was changed to `mapnik::Map::remove_layer` + - In C++ `mapnik::Map::getLayer` was changed to `mapnik::Map::get_layer` + - Changed `polygon_pattern_symbolizer` to default to `global` rather than `local` for the `alignment`. + - CSV plugin now parses and stores the strings of `"true"`, and `"false"` as boolean types (rather than strings) - https://github.com/mapnik/mapnik/issues/1540 + +## Added + + - `MarkersSymbolizer` now supports `offset`, `geometry-transform`, `simplify` for `line` placement and two new `placement` options called `vertex-last` and `vertex-first` to place a single marker at the end or beginning of a path. Also `clip` is now respected when rendering markers on a LineString geometry. \ No newline at end of file