Elevation profile widget experience builder-multi series

844
4
Jump to solution
03-29-2022 06:53 PM
VictorTey
Esri Contributor

Hi,

I am trying to modify the OOTB elevation profile widget to support multiple different custom elevation layer to form a multi series elevation profile.

VictorTey_0-1648603798246.png

An example of the expected output.

VictorTey_1-1648605091106.png

I attempted to modify it via the function ()  - createEpViewModel but it is not behaving as expect (still no multi series) . Can anyone advise? Thank you in advance.

VictorTey_2-1648605147889.png

 

 

1 Solution

Accepted Solutions
SumitZarkarCT
New Contributor III

This widget can show only one ElevationLayer right now.

With the code change  you did the profile results are generated for both the layers but are  not rendered on the chart. Since the chart is designed to show ground information series of only one layer.

Here is the JS API Widget Sample for your requirement:

SumitZarkarCT_0-1648652331721.png

 

 

View solution in original post

4 Replies
SumitZarkarCT
New Contributor III

This widget can show only one ElevationLayer right now.

With the code change  you did the profile results are generated for both the layers but are  not rendered on the chart. Since the chart is designed to show ground information series of only one layer.

Here is the JS API Widget Sample for your requirement:

SumitZarkarCT_0-1648652331721.png

 

 

VictorTey
Esri Contributor

Thank you so much 🙂 appreciate that. 

iHack
by
New Contributor III

Anyone have an idea when this functionality of displaying multiple elevation surfaces in the same graph might be available in the out of the box Elevation Profile Widget?  Is it on the roadmap?

0 Kudos
David_Brooks
MVP Regular Contributor

@SumitZarkarCT this is a great step in the right direction. Currently unsure why the OOTB widget wont support multiple elevation layers. 


David
..Maps with no limits..
0 Kudos