iI am new in GIS programming, iI have to createcreated a geoportail with cmv with the Configurable Map Viewer (CMV). iI want to add my kmlKML layers but they don't appear in the map. bellowBelow is the part of my code
operationalLayers: [{
type: 'kml',
url: "http://localhost:6080/arcgis/rest/services/ban/MapServer/",
title: 'banques',
options: {
id: 'libelle',
opacity: 1.0,
visible: true,
outFields: ["*"],
mode: 0
},
editorLayerInfos: {
disableGeometryUpdate: false
},
legendLayerInfos: {
exclude: false,
layerInfo: {
title: 'My layer'
}
}
}, {
type: 'kml',
url: 'http://localhost:6080/arcgis/rest/services/ban/MapServer',
title: 'Region Rabat Sale',
options: {
id: 'key',
opacity: 1.0,
visible: true,
mode: 0
}
},
],