mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 01:32:19 +00:00
fix(cctv): count a lone camera in the marker it sits against
A ground cell with one camera always drew its icon, so at some zooms a camera poked out from under a count marker with its own callout. An icon closer than the merge gap to a count marker now joins that marker: the count grows by one and the icon, its callout and its card are not drawn. Two lone cameras with no count beside them stay two icons, and the active camera always keeps its own icon.
This commit is contained in:
1 parent
c536d22ff0
commit
65942008bf
8 files changed
+125
-24
No files matched your search
@@ -1,7 +1,8 @@
|
||||
- Show how many cameras stand behind a thinned CCTV marker. Zoomed out, a
|
||||
ground cell with two or more cameras is one round marker with a small camera
|
||||
icon and the count (`999`, `1.7K`, `12K` in every language); it grows with
|
||||
the count, merges with a neighbour it would overlap, and a click zooms in
|
||||
until the group splits. The camera layer's colour is now green: count
|
||||
markers and idle single cameras share it, the active camera stays gold and
|
||||
live-video cameras stay violet (gekh, #1808).
|
||||
the count, merges with a neighbour it would overlap, takes in a lone camera
|
||||
whose icon would sit against it, and a click zooms in until the group
|
||||
splits. The camera layer's colour is now green: count markers and idle
|
||||
single cameras share it, the active camera stays gold and live-video cameras
|
||||
stay violet (gekh, #1808).
|
||||
Reference in new issue
Block a user