Skip to content

Commit

Permalink
Updated cartodb.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rafacas committed Mar 27, 2014
1 parent fbf58eb commit 1f11f1f
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions vendor/assets/javascripts/cartodb.uncompressed.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// cartodb.js version: 3.8.06-dev
// cartodb.js version: 3.8.07-dev
// uncompressed version: cartodb.uncompressed.js
// sha: 01ac31da93c14ecbb9e448ed3fbc6d38dc8c47ad
// sha: 3e16cb29545c1b46c5b16d1bd8140de27249ba30
(function() {
var root = this;

Expand Down Expand Up @@ -20686,7 +20686,7 @@ this.LZMA = LZMA;

var cdb = root.cdb = {};

cdb.VERSION = '3.8.06-dev';
cdb.VERSION = '3.8.07-dev';
cdb.DEBUG = false;

cdb.CARTOCSS_VERSIONS = {
Expand Down Expand Up @@ -26061,6 +26061,18 @@ Map.prototype = {

setLayer: function(layer, def) {
if(layer < this.getLayerCount() && layer >= 0) {
if (def.options.hidden) {
var i = this.interactionEnabled[layer];
if (i) {
def.interaction = true
this.setInteraction(layer, false);
}
} else {
if (this.layers[layer].interaction) {
this.setInteraction(layer, true);
delete this.layers[layer].interaction;
}
}
this.layers[layer] = _.clone(def);
}
this.invalidate();
Expand Down

0 comments on commit 1f11f1f

Please sign in to comment.