Commit 1474a9d
Select by bounding box (#417)
Building on top of #412
with help from @batpad
### Change list
- Draw bbox in deck instead of separate layer
### Notes
- Create mode for when picking bbox should be active
- Send data back to Python
- Make multiple draw calls, one per set of layer ids, then set on layer
state
- Maybe delegate to sub models directly. Add a `pick` callback directly
onto the models, and then iterate over each model, calling `pick` which
picks and then assigns directly onto that model's state?
- Note about crossing international dateline
- Ensure we're not creating more than 256 layers.
---------
Co-authored-by: Isaac Brodsky <[email protected]>
Co-authored-by: Sanjay Bhangar <[email protected]>
Co-authored-by: Vitor George <[email protected]>1 parent 95dbd52 commit 1474a9d
File tree
15 files changed
+10164
-2668
lines changed- lonboard
- src
- model
- xstate
15 files changed
+10164
-2668
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
3 | 18 | | |
4 | 19 | | |
5 | 20 | | |
| |||
11 | 26 | | |
12 | 27 | | |
13 | 28 | | |
| 29 | + | |
14 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
15 | 43 | | |
16 | 44 | | |
17 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
197 | 213 | | |
198 | 214 | | |
199 | 215 | | |
| |||
0 commit comments