Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GridLayer: fix _updateLevels and _removeTilesAtZoom (#7123)
Because of particular quality of `for ... in` loop, type of `z` is 'string'. Thus condition `z === zoom` never met in _updateLevels. Considering wrong arg type, _removeTilesAtZoom also never had any action. Cleaner solution would be to iterate `Object.keys()` instead, but it is available only since IE 9.
- Loading branch information