question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Should We Create an Arcade Expression Functions Plugin or Documentation of Equivalent Functions?

See original GitHub issue

Although I was initially skeptical, I have fallen in love with Arcade Expressions. I was wondering if there was desire and/or support to connect Arcade Expressions into the Esri-Leaflet ecosystem? I know I have written a function that is the equivalent of IsEmpty for my Leaflet apps. Below are some initial thoughts of what this could potentially look like. I would love for this community to chime in.

  • Create an esri-leaflet-arcade plugin that allows you to write Arcade Expressions in esri-leaflet. This is probably not realistic, but I wanted to include it anyway
  • Create a section on the documentation site or repo wiki that provides reference to JavaScript functions that can be used in esri-leaflet that are equivalent to Arcade Expressions.
  • Other great ideas this community comes up with

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pmacMapscommented, Apr 16, 2020

In web maps, I’ve only used Arcade for pop-up content. So that’s the angle I’m coming from. But I think in whatever ways we could support Arcade functionality would be ideal.

0reactions
psmyth2commented, Apr 17, 2020

Thanks for great work you all do. Currently finding myself in position where I’d like to utilize a L.esri.featureLayer with symbology published in the service using ‘valueExpression’ written in Arcade. Have found the valueExpression is often only option for setting up more advanced attribute-based transparency/symbology. Would this potential enhancement apply to L.esri.dynamicMapLayer usage as well?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Your Arcade Questions Answered
Yes ! The beauty of Arcade is that it is dynamic. Whenever you load a map, it will calculate the values from your...
Read more >
Function Reference | ArcGIS Arcade
A simple, portable scripting language for creating custom visualizations and labeling expressions.
Read more >
CoffeeScript
The code compiles one-to-one into the equivalent JS, and there is no ... Major new features in CoffeeScript 2 include async functions and...
Read more >
ArcGIS Online: Web Mapping with Arcade Expression - YouTube
Including Arcade expressions in web maps, allow you to make maps from simple calculations, functions, data conversions, and brand new ...
Read more >
Math Expressions | Unreal Engine 4.27 Documentation
The ArccosineFast expression outputs an approximation of the inverse cosine function that is faster to calculate than the more accurate Arccosine expression.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found