From 410698991b067a619052cba1ab109ad258261a50 Mon Sep 17 00:00:00 2001 From: Lucas Wojciechowski Date: Mon, 16 Nov 2015 17:11:06 -0800 Subject: [PATCH] Fix symbol rendering order --- js/data/symbol_bucket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/data/symbol_bucket.js b/js/data/symbol_bucket.js index 70954647980..e8d49dc8552 100644 --- a/js/data/symbol_bucket.js +++ b/js/data/symbol_bucket.js @@ -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; }); }