It has since become possible to apply Aspect Fix Mode in Javascript. Indicate that in the docs.

janzankowski 2018-11-23 14:22:45 +01:00
parent ea5fd713ae
commit 1dc1816ca4

@ -44,4 +44,7 @@ m.aspect_fix_mode = mapnik.aspect_fix_mode.ADJUST_BBOX_HEIGHT
```
For a python example of this in action see <https://gist.github.com/andrewharvey/1290744>
In Javascript [this is not yet exposed](https://github.com/mapnik/node-mapnik/issues/177).
Javascript:
```javascript
m.aspect_fix_mode = mapnik.Map.ADJUST_BBOX_HEIGHT;
```