Skip to content

Commit

Permalink
Fix layer loading from owscontext index issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fgravin committed Jun 21, 2017
1 parent 9d5f751 commit a5e2060
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@

(function(idx) {
p.then(function(layer) {
map.getLayers().setAt(idx-1, layer);
map.getLayers().setAt(idx, layer);
});
})(layerIndex);
}
Expand Down

0 comments on commit a5e2060

Please sign in to comment.