I would like to have different color markers depending on a field value in a Leaflet Map view.

I try to use Replacements Patterns in format > style options > Map Icon:

enter image description here

but I get a "not valid json format" error. What I'm missing? (I know this is possible with OpenLayers module, creating different layers, but not possible to change to it now).


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.