Skip to content

Commit

Permalink
Fix symbol rendering order
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Wojciechowski committed Nov 17, 2015
1 parent 2e72a67 commit 4106989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/data/symbol_bucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ SymbolBucket.prototype.placeFeatures = function(collisionTile, buffers, collisio
this.symbolInstances.sort(function(a, b) {
var aRotated = sin * a.x + cos * a.y;
var bRotated = sin * b.x + cos * b.y;
return bRotated - aRotated;
return aRotated - bRotated;
});
}

Expand Down

0 comments on commit 4106989

Please sign in to comment.