Open paulamaddock opened 6 years ago
The plugin does not support the valueExpression property in rendering.
{ "renderer": { "authoringInfo": { "type": "classedSize" }, "type": "classBreaks", "field": null, "valueExpression": "var days_since_treatment = DateDiff(Today(),$feature[\"LAST_EDIT_DATE_COPY\"],'days')\nreturn Round(days_since_treatment)", "valueExpressionTitle": "Custom", "defaultSymbol": { "color": [ 255, 255, 255, 255 ], "width": 1.5, "type": "esriSLS", "style": "esriSLSSolid" }, "minValue": 0, "classBreakInfos": [ ], "defaultLabel": "Not treated yet" }, "transparency": 0 }
more info in https://github.com/ynunokawa/L.esri.WebMap/issues/74
and more related info in Esri/esri-leaflet#1195
The plugin does not support the valueExpression property in rendering.