Select to view content in your preferred language

Elevation Profile Not Working for Portal-Hosted WebMap after JS API 4.22

99
0
a month ago
ShannonDeArmond
Regular Contributor

I have a web app built in JS 4 API that utilizes a the ElevationProfile widget and loads a webmap from my portal. This was working fine up until 4.21. With the current release (4.31), the Elevation Profile widget seems unable to find the ground elevation as I have it defined. (Some experimentation shows me that this breaks at 4.22.)

Curiously, the same methodology to define ground surface in the map works if I create the map in my view directly in the webapp or if I load a webmap from AGOL, but not from my own portal.

I am uncertain if I need to change my code or if additional portal configuration became necessary at 4.22 to utilize this widget. Any help would be greatly appreciated.

Because my portal is private, it is difficult to recreate the problem entirely, though I have created a codepen  here to show the code as I have it written.

 

0 Kudos
0 Replies