From 58c4363ffcf64b11cef67a8717b8117a61fd8f1c Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 6 Dec 2017 08:11:03 -0800 Subject: [PATCH] Remove duplicate code --- src/source/tile.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/source/tile.js b/src/source/tile.js index 345c5e72087..fd1f1b9c436 100644 --- a/src/source/tile.js +++ b/src/source/tile.js @@ -92,7 +92,7 @@ class Tile { justReloaded: boolean; /** - * @param {OverscaledTileID} tileID + * @param {OverscaledTileID} tileID * @param size */ constructor(tileID: OverscaledTileID, size: number) { @@ -162,13 +162,6 @@ class Tile { if (data.glyphAtlasImage) { this.glyphAtlasImage = data.glyphAtlasImage; } - - if (data.iconAtlasImage) { - this.iconAtlasImage = data.iconAtlasImage; - } - if (data.glyphAtlasImage) { - this.glyphAtlasImage = data.glyphAtlasImage; - } } /**