Select to view content in your preferred language

Load esisting Route Layer from Portal

10-18-2023 03:25 AM
New Contributor

We are working on an experience builder solution with custom widgets.

We have some route layers generated from a custom algotrithm and shared via Portal as Route Layer items.

We are not able to add this layer to an existing webmap widget, if I use the following code

guidItem ="GUID_OF_ROUTE_ITEM on arcgis portal"

const featureLayer = new FeatureLayer({
id : guidItem


I can only see the first layer of the route feature collection added to the map.


We would like to do quite the same action available in arcgis Portal when you can add a route layer to an existing webmap.

How can this could be done in experience builder ?




0 Kudos
0 Replies