Replies: 1 comment
-
All the parameters of the package are strings (except for data) because I make sure that this library can be easily transposed in the ecosystem of R, which is not like I JS, a purely functional language. See https://github.com/riatelab/bertin. But you are right. We have to accept functions too. That's what I started to do in the tooltips. See section 4 https://observablehq.com/@neocartocnrs/bertin-js-tooltips?collection=@neocartocnrs/bertin |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In GeoJSON properties selection, a parameter is
expression
. I'm curious why is anexpression
(a string) preferred over a pure JavaScript function?Beta Was this translation helpful? Give feedback.
All reactions