How to configure AGO pop ups to convert feet to miles?

2164
1
Jump to solution
07-06-2016 02:51 PM
Laurenventure
Occasional Contributor

I'm not sure if this already exists and I'm just unaware how to implement it. I have a web map that utilizes a line feature layer, which has lengths in feet. Is there a way to enable the pop up so that it runs an equation which converts the lengths from feet to miles?

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
Laurenventure
Occasional Contributor

Well I was finally able to accomplish this with Arcade.

You can create a custom expression:

Length(Geometry($feature), 'Miles')

View solution in original post

1 Reply
Laurenventure
Occasional Contributor

Well I was finally able to accomplish this with Arcade.

You can create a custom expression:

Length(Geometry($feature), 'Miles')