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.
An example of the expected output.
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.
Solved! Go to Solution.
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:
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:
Thank you so much 🙂 appreciate that.
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?
@SumitZarkarCT this is a great step in the right direction. Currently unsure why the OOTB widget wont support multiple elevation layers.