You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (this.mapConfig.customLayers) {
var customLayers = this.mapConfig.customLayers;
for (var i = 0; i < customLayers.length; i++) {
var customLayer = customLayers[i];
var layer;
if (customLayer.options && customLayer.options.imageParameters) {
var params = new esri.layers.ImageParameters();
var keys = Object.keys(customLayer.options.imageParameters);
arrayUtil.forEach(keys, function (key) {
params[key] = customLayer.options.imageParameters[key];
});
customLayer.options.imageParameters = params;
}
layer = new esri.layers.ArcGISDynamicMapServiceLayer(customLayer.url, customLayer.options);
if (layer) {
this.map.addLayer(layer);
}
}
}
The text was updated successfully, but these errors were encountered:
Please add functionality to add feature layers to show features on top of the basemap.
Here is an example of what i did.
In AppConfig.js i added...
Then in EsriMap.js i added this...
The text was updated successfully, but these errors were encountered: