Skip to content

Commit

Permalink
don't check if a geojson tile expired (they never expire)
Browse files Browse the repository at this point in the history
  • Loading branch information
ansis committed Feb 14, 2018
1 parent 11bcd3a commit 87bec2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source/geojson_source.js
Expand Up @@ -226,7 +226,7 @@ class GeoJSONSource extends Evented implements Source {
}

loadTile(tile: Tile, callback: Callback<void>) {
const message = tile.workerID === undefined || tile.state === 'expired' ? 'loadTile' : 'reloadTile';
const message = tile.workerID === undefined ? 'loadTile' : 'reloadTile';
const params = {
type: this.type,
uid: tile.uid,
Expand Down

0 comments on commit 87bec2a

Please sign in to comment.