How can I set the objects I want from my url to BasemapGallery and not those that are in it initially from default?
Project Angular ASP NET6. I am using the object const world = new WMSLayer({ url: "my Url "});
const map = new Map({
ground: "world-elevation",
layers: [world]
});
const container = this.mapViewEl.nativeElement;
const view = new MapView({
container,
map: map
});
const basemapGallery = new BasemapGallery({
view: view
});
view.ui.add(basemapGallery, "top-right"); // Add to the view
How to set new my source to BasemapGallery?
Thanks!