Skip to content

Instantly share code, notes, and snippets.

@tokumine
Created April 14, 2011 16:45
Show Gist options
  • Save tokumine/919886 to your computer and use it in GitHub Desktop.
Save tokumine/919886 to your computer and use it in GitHub Desktop.
carto fails on numeric multiplication in styles
working carto
---------------
#land {
polygon-fill:#0A202A;
line-width:1.2;
}
non-working carto
------------------
#land {
polygon-fill:#0A202A;
line-width:1.2 * 2; #<-- note multiplication
}
and (possibly as a result of the above)
@line_width_multiple:2;
#land {
polygon-fill:#0A202A;
line-width:1.2 * @line_width_multiple;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment