Skip to content

Commit

Permalink
bug related to adding geoJson layers fixed, View Attachments fixed fo…
Browse files Browse the repository at this point in the history
…r Dynamic Layers
  • Loading branch information
ashina-creator committed May 4, 2016
1 parent 1f13a80 commit c36beef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ define([
if (_infoTemp.fieldInfos) {
popupInfo.fieldInfos = _infoTemp.fieldInfos;
}
if (_infoTemp.showAttachments){
popupInfo.showAttachments = true;
}
var _popupTemplate1 = new PopupTemplate(popupInfo);
finalInfoTemp[_infoTemp.layerId] = {
infoTemplate: _popupTemplate1
Expand Down Expand Up @@ -579,8 +582,7 @@ define([
evt.layer.setMaxScale(lOptions.maxScale)
}
})
//this._viewerMap.addLayer(lLayer);
_layersToAdd.push(lLayer);
this._viewerMap.addLayer(lLayer);
}), lang.hitch(this, function(err) {
console.log('error')
}));
Expand Down

0 comments on commit c36beef

Please sign in to comment.