Skip to content

Commit

Permalink
fix wrapdelta sign (fixup)
Browse files Browse the repository at this point in the history
  • Loading branch information
ansis committed Apr 13, 2018
1 parent 6ffb4d8 commit 913f891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/symbol/cross_tile_symbol_index.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class CrossTileSymbolLayerIndex {
for (const key in zoomIndexes) {
// change the tileID's wrap and add it to a new index
const index = zoomIndexes[key];
index.tileID = index.tileID.unwrapTo(index.tileID.wrap - wrapDelta);
index.tileID = index.tileID.unwrapTo(index.tileID.wrap + wrapDelta);
newZoomIndex[index.tileID.key] = index;
}
this.indexes[zoom] = newZoomIndex;
Expand Down

0 comments on commit 913f891

Please sign in to comment.