Question about symbology and expressions #3871
Replies: 3 comments 1 reply
-
I would try different stuff and see what works. I don't know of a better way... |
Beta Was this translation helpful? Give feedback.
-
There is no documentation on expressions except any examples on MapLibre website. What would be these different stuffs ? Thanks |
Beta Was this translation helpful? Give feedback.
-
Answer about this question : I generated symbology with MapBox Studio, in order to have exact syntax. There may be a bug here.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am working on datae and I am trying to create a symbology using expressions. Problem is at 'circle-color', I have indicated that white is a default color, but in my app, the rendering is black.
I don't understand why, this is my code.
Thank you very much for your help,
Sylvain
const date0 = ["<=", ['get', 'annee'], 1904];
const date1 = ['all', ['>', ['get', 'annee'], 1904], ['<=', ['get', 'annee'], 1945]];
const date2 = ['all', ['>', ['get', 'annee'], 1945], ['<=', ['get', 'annee'], 1975]];
const date3 = [">=", ['get', 'annee'], 1975];
const daten = ["==", ['get', 'annee'], null]; // possible that the problem is here (with coalesce ?)
Beta Was this translation helpful? Give feedback.
All reactions