AnsweredAssumed Answered

Use ui.add to add multiple components to different view positions

Question asked by ryli_to on Apr 18, 2019
Latest reply on Apr 18, 2019 by ryli_to

I could not use the way it shows here to add multiple components to different positions, only the first component gets added. Am I missing something? I am using API 4.11.

component: home,
position: "bottom-right",
index: 0
}, {
component: zoom,
position: "bottom-right",
index: 1
}, {
component: searchWidget,
position: "top-right"
}, {
component: scaleBar,
position: "bottom-left"