Improve traffic layer update logic
@Trufi is already working on this.
Since Oct 15, 2015.
Assessment
This issue has not been assessed yet.
Description
Мы никак не учитываем заголовки, которые приходят от сервиса пробок.
Сейчас возможна проблема рассинхрона тайлов пробок на разных зумлевелах.
Как воспроизвести:
- Зайти на 2gis.ru
- Включить отображение пробок
- Zoom-in на несколько зумов вглубь
- Zoom-out назад
- Подождать обновления тайлов:
тайлы на текущем зуме периодически обновляются, но при смене зума, мы увидим не обновленные тайлы
Пути решения проблемы:
Простой
Уменьшить период обновления тайлов с 5 минут до 1 минуты.
Сложный
Вычитывать заголовок expires при запросе бальности и обновлять тайлы пробок согласно этому заголовку.
- Dominant language
- JavaScript
- Stars
- 212
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from 2gis/mapsapi
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
map is not centering Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·