Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas.generateDataURLHeatmap: return empty string if there is no points #4

Merged
merged 2 commits into from
Mar 27, 2018

Conversation

ch-ms
Copy link
Contributor

@ch-ms ch-ms commented Mar 26, 2018

В 59 версии Фаерфокс под Мак Ос 10.13.3 некорректно рисуются тайлы, а именно на тайлах которые должны быть пустыми остается фантомное изображение (https://s3.amazonaws.com/chms/yandex-heatmap-ff59-bug/bug.png). Этот пул исправляет это следующим образом: если нет точек тогда generateDataURLHeatmap возвращает пустое значение. Это полностью убирает ошибку (https://s3.amazonaws.com/chms/yandex-heatmap-ff59-bug/wo-bug.png) и позволяет избежать дополнительных вычислений.

@ch-ms ch-ms force-pushed the chams-ff59-macos10.13.3-fix branch from 21f3d32 to 7624ed0 Compare March 26, 2018 18:04
@ch-ms ch-ms force-pushed the chams-ff59-macos10.13.3-fix branch from ea6bf1f to b45fa45 Compare March 27, 2018 17:18
@ch-ms ch-ms merged commit 8227c54 into master Mar 27, 2018
@ch-ms ch-ms deleted the chams-ff59-macos10.13.3-fix branch July 18, 2018 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants