Updated API changes between v2.0 and v2.1 (markdown)

springmeyer 2012-08-16 19:19:04 -07:00
parent bd810b2838
commit 63b473e13b

@ -19,7 +19,7 @@
* `MarkersSymbolizer`
* `fill-opacity` is new.
* `opacity` value now works to set the alpha of bitmap images.
* `Expression` - you can now use the built in keyword of `[mapnik::geometry_type]` to filter features by geometry type either by name or integer key. The mapping is `0:no geometry`, `1:point`, '2:linestring`, `3:polygon`, and `4:collection`. A collection indicates that the `Feature` has more than one geometry of different types. So a `Feature` with three linestrings will be reported as `linestring` but a `Feature` with a point and a linestring will be reported as a `collection`. - for more details see [#546](https://github.com/mapnik/mapnik/issues/546)
* `Expression` - you can now use the built in keyword of `[mapnik::geometry_type]` to filter features by geometry type either by name or integer key. The mapping is `0:no geometry`, `1:point`, `2:linestring`, `3:polygon`, and `4:collection`. A collection indicates that the `Feature` has more than one geometry of different types. So a `Feature` with three linestrings will be reported as `linestring` but a `Feature` with a point and a linestring will be reported as a `collection`. - for more details see [#546](https://github.com/mapnik/mapnik/issues/546)
* To All symbolizers (in most cases)
* `comp-op` - All symbolizers now support compositing in the AGG and Cairo renderers
* `clip` - All(most) symbolizers - boolean of whether to clip geometries before rendering (defaults to `true`)