Hi all,
I am putting several widgets in my mapView. Everything works fine, but I have noticed there is a gap in-between the widgets that I didn't define. Is there a way to change how big the space is? Here is the code I am using, nothing fancy:
//LayerListWidget initialization
var layerList = new LayerList({
view: view,
});
view.ui.add(layerList, "top-right");
//initialization of the basemapGallery widget
var basemapGallery = new BasemapGallery({
view: view,
});
view.ui.add(basemapGallery, {
position: "top-right"
});
//initializing the Scale Bar widget
var scaleBar = new ScaleBar({
view: view,
unit: "non-metric"
});
view.ui.add(scaleBar, {
position: "top-right"
});