Lachlan Kermode
ddbee03f50
Feature/ux fixes ( #167 )
...
* fix card toggle
* fix bug and bar marker
* reinstate timeline arrows
* adjust (hard to interpret) category y calculation
* shadows for markers as well
* return markers when there are no categories
* remove year in timeline
* make notifications optional
* WIP: render hovered counts
* show number on hover
* lint
* revert to filteredLocations
* linting
* return mapClustersToLocations
* 💄
* lint
Co-authored-by: efarooqui <efarooqui@pandora.com >
2020-10-22 20:09:13 +03:00
efarooqui
4107058ec6
Trailing comma
2020-10-21 20:54:25 -07:00
efarooqui
d7ddc80c5c
Moved supercluster config outside of map; to set the lowest level at which clusters appear, set maxZoom in config
2020-10-21 20:52:59 -07:00
efarooqui
080102cd37
Working index load on initial map render; needed to add callback to set state function
2020-10-21 10:03:21 -07:00
Lachlan Kermode
57c7c3f96e
lint
2020-10-21 18:33:51 +03:00
Lachlan Kermode
ceed82e4f3
fix corner case where clusters sometimes remain on screen without events
2020-10-21 18:33:06 +03:00
Lachlan Kermode
adb5d6f959
lint
2020-10-21 17:53:56 +03:00
Lachlan Kermode
3d010e4558
return reduce logic for when event shadows exist
2020-10-21 17:45:12 +03:00
Lachlan Kermode
9a1e2f6ad1
fix timeline render when there are no categories
2020-10-21 17:35:36 +03:00
Lachlan Kermode
59d2685879
check for USE_CATEGORIES
2020-10-21 16:57:26 +03:00
efarooqui
9bc9c6d9a2
Merging in develop branch
2020-10-20 15:26:15 -07:00
efarooqui
5e2982786f
Linting fixes
2020-10-20 15:15:04 -07:00
efarooqui
cd19910b06
Loads index when locations are finally available in props; added through componentDidUpdate method
2020-10-20 13:28:58 -07:00
efarooqui
e03fc472e0
Removed line
2020-10-19 21:00:31 -07:00
efarooqui
70f89a2a5d
Injecting loading overlay into map for cases where domain hasnt been loaded yet
2020-10-19 15:29:39 -07:00
efarooqui
7dee3dacd1
Some linting fixes
2020-10-19 13:33:42 -07:00
efarooqui
c310d15579
Created utility function isIdentical; moved DefsClusters into Clusters file
2020-10-19 13:32:35 -07:00
efarooqui
9200019d1e
Linting fixes
2020-10-19 09:11:08 -07:00
efarooqui
6927ecc3ce
Linting fixes
2020-10-19 09:05:54 -07:00
efarooqui
2cff35c3f2
Removed commented out logic
2020-10-16 11:23:00 -07:00
efarooqui
3bf80bce00
Modified clusters to take in radial gradient as input if specified
2020-10-15 09:23:19 -07:00
efarooqui
2aaa1752ad
Changed back to normal opacities instead of radial gradients; could add a var that's read from the config to determine styling: radial gradient || normal opacity
2020-10-14 22:27:50 -07:00
efarooqui
32da7f0105
Modified cluster styling to have gradients
2020-10-14 21:05:58 -07:00
efarooqui
b5bb7472ac
Rewrote opacity alg for clusters
2020-10-13 11:04:07 -07:00
efarooqui
b8b7c712de
Ability to toggle categories on / off on timeline
2020-10-12 16:33:19 -07:00
efarooqui
cde94262be
Events showing up on timeline after interpolating categories from associations and passing into getY
2020-10-12 14:54:45 -07:00
efarooqui
b35fb48860
Setting initial categories upon load; need to modify for timeline and related events
2020-10-12 11:15:34 -07:00
efarooqui
909307a6ae
Bug with graph nonlocated and getY function; need to refactor toolbar so that it selects the categories on the timeline
2020-10-08 16:58:31 -07:00
efarooqui
d649ba99ed
Configuring maxbounds in config to allow pan to not snap out of center
2020-10-07 17:41:09 -07:00
efarooqui
3dc13f334b
Working filters with added check to make sure empty locations dont create clusters
2020-10-07 10:19:03 -07:00
efarooqui
67c336c131
Categories showing up on timeline with events; events are stacked on both and connected by a bar which looks like a UI bug somewhere
2020-10-06 17:22:47 -07:00
efarooqui
c86c4fba02
Removing commented out sections
2020-10-06 10:34:29 -07:00
efarooqui
9dd5eabd3a
Linting fixes
2020-10-06 10:31:17 -07:00
efarooqui
233ddbfc99
Removed logic for selecting all cards on cluster select; putting out PR to get feedback
2020-10-06 10:19:09 -07:00
efarooqui
47b9a66816
Working on select that selects all events in a cluster; need to configure UI to both zoom and select events
2020-10-05 09:45:17 -07:00
efarooqui
9357b5e281
Broken onClick clusters working after validating longitude and latitude and only allowing locations to contain valid coordinates
2020-10-01 15:35:46 -07:00
efarooqui
ed236e9716
Working onCluster select; zooming in and watching clusters break down into individual clusters and points
2020-09-30 14:01:08 -07:00
efarooqui
5333f492f8
Getting appropriate clusterZoom; flyto moving to incorrect location on map
2020-09-30 13:07:29 -07:00
efarooqui
5020e73811
Cluster sizes showing up appropriately and unclustering upon zoom; need to nail down styling and add onSelect for clusters
2020-09-30 11:21:37 -07:00
efarooqui
aa87db6b84
Working cluster visualization; need to modify styling for clusters for size and work out color based on events
2020-09-30 10:53:15 -07:00
efarooqui
80584c1717
Creating cluster styling and component to handle cluster visualization and mapping
2020-09-29 18:48:40 -07:00
efarooqui
297dd83436
Individual points showing with cluster logic; need to define styling and appearance for larger clusters
2020-09-29 10:45:08 -07:00
efarooqui
9c59dd12a0
Clustering working upon zoom; loading cluster data appropriately initially; need to style and add markers
2020-09-29 09:35:55 -07:00
efarooqui
1b88274aca
Building with supercluster; working on map refactor
2020-09-28 13:40:28 -07:00
efarooqui
15729da731
Timeline no longer adjusts upon selection of events; set of events aren't modified according to their place in the timeline
2020-09-23 13:13:11 -07:00
efarooqui
8e08198c3c
Merge branch 'develop' of https://github.com/forensic-architecture/timemap into feature/multi-select-events
2020-09-23 10:31:08 -07:00
efarooqui
0374ac5d76
Removed extraneous USE_SEARCH declarations
2020-09-23 10:25:18 -07:00
Lachlan Kermode
a089ea587b
rm import
2020-09-23 19:02:59 +02:00
Lachlan Kermode
251eee4c96
rm unused search
2020-09-23 18:41:01 +02:00
efarooqui
8bf93a7dec
Working multi-select; need to stop firing update timerange upon select
2020-09-23 08:36:03 -07:00