Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Support valueExpression property of renderer. #145

Open
paulamaddock opened this issue Oct 11, 2018 · 2 comments
Open

Support valueExpression property of renderer. #145

paulamaddock opened this issue Oct 11, 2018 · 2 comments

Comments

@paulamaddock
Copy link

paulamaddock commented Oct 11, 2018

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
}
@jgravois
Copy link
Contributor

more info in ynunokawa/L.esri.WebMap#74

@jwasilgeo
Copy link

and more related info in Esri/esri-leaflet#1195

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants