Hi Friends, I am using ArcGis Javascript Api 4.16 and I am trying to use the service https://naip.arcgis.com/arcgis/rest/services/NAIP/ImageServer as a baselayer of the Basemap using the below code
new Basemap({
baseLayers: [
new ImageryLayer({
url: "https://naip.arcgis.com/arcgis/rest/services/NAIP/ImageServer",
format: "jpgpng"
})
],...........
but the above is not working. I would like to know whether I am doing it the correct way or is there a different approach to achieve the same?
@UndralBatsukh Any idea how can I achieve the above?