From 1dc1816ca4991758fb62b2683e85ea680c09cb4f Mon Sep 17 00:00:00 2001 From: janzankowski <8647392+janzankowski@users.noreply.github.com> Date: Fri, 23 Nov 2018 14:22:45 +0100 Subject: [PATCH] It has since become possible to apply Aspect Fix Mode in Javascript. Indicate that in the docs. --- Aspect-Fix-Mode.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Aspect-Fix-Mode.md b/Aspect-Fix-Mode.md index dc3948a..ea9daa5 100644 --- a/Aspect-Fix-Mode.md +++ b/Aspect-Fix-Mode.md @@ -44,4 +44,7 @@ m.aspect_fix_mode = mapnik.aspect_fix_mode.ADJUST_BBOX_HEIGHT ``` For a python example of this in action see -In Javascript [this is not yet exposed](https://github.com/mapnik/node-mapnik/issues/177). \ No newline at end of file +Javascript: +```javascript +m.aspect_fix_mode = mapnik.Map.ADJUST_BBOX_HEIGHT; +``` \ No newline at end of file