Commit a4f0c5c
committed
Reduce point clustering flicker.
There are two different contributing factors:
(1) some times zoom rounding caused a flicker. In floating point, 7.99999999 is essentially 8.0, but their floors are different. In general, round zoom values to six places.
(2) gratuitous drawing during the zoom event. After reclustering, a point feature draw() call was being made. This is never necessary (at least on current master).1 parent 24d0bb1 commit a4f0c5c
2 files changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1704 | 1704 | | |
1705 | 1705 | | |
1706 | 1706 | | |
| 1707 | + | |
1707 | 1708 | | |
1708 | 1709 | | |
1709 | 1710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | 146 | | |
148 | 147 | | |
149 | 148 | | |
| |||
0 commit comments