Skip to content

Commit

Permalink
FeatureLayer name Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
cmndrbensisko committed Feb 16, 2015
1 parent 4d5559e commit e93879c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ define([
lOptions.showLabels = true;
}
lLayer = new FeatureLayer(layer.url, lOptions);
lLayer.on('load',function(evt){
evt.layer.name = lOptions.id;
});
this._viewerMap.addLayer(lLayer);
}else if(layer.type.toUpperCase() === 'TILED'){
if(layer.displayLevels){
Expand Down

0 comments on commit e93879c

Please sign in to comment.