Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

fix: cluster styling issue #161

Merged
merged 10 commits into from
Jan 24, 2022
Merged

fix: cluster styling issue #161

merged 10 commits into from
Jan 24, 2022

Conversation

issmail-basel
Copy link
Contributor

Overview

  • If Pixel range is changed, cluster styling breaks
  • Minimum cluster size is not working as expected.
  • UseEffect is in a infinite loop.

What I've done

  • Used cesium styling workaround, without creating event loop
  • Added a workaround for when Minimum cluster size is larger than number of cluster layers, without breaking the event listener.

What I haven't done

  • Did not add any features.

How I tested

  • Create a cluster.
  • Change pixel range, cluster should not break.
  • Choose Minimum cluster size to be larger than number of cluster layers.

Screenshot

Before:
bug
After:
bfix

@issmail-basel issmail-basel requested a review from rot1024 January 21, 2022 01:32
@netlify
Copy link

netlify bot commented Jan 21, 2022

✔️ Deploy Preview for reearth-web ready!

🔨 Explore the source changes: bdcc24b

🔍 Inspect the deploy log: https://app.netlify.com/sites/reearth-web/deploys/61ee3fdf24c5e90007fba8f8

😎 Browse the preview: https://deploy-preview-161--reearth-web.netlify.app

@codecov
Copy link

codecov bot commented Jan 21, 2022

Codecov Report

Merging #161 (bdcc24b) into main (e8e1831) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #161   +/-   ##
=======================================
  Coverage   45.39%   45.39%           
=======================================
  Files          60       60           
  Lines        1302     1302           
  Branches      207      207           
=======================================
  Hits          591      591           
  Misses        652      652           
  Partials       59       59           

@rot1024 rot1024 changed the title fix: Cluster styling issue fix: cluster styling issue Jan 21, 2022
@issmail-basel issmail-basel merged commit c78872f into main Jan 24, 2022
@issmail-basel issmail-basel deleted the cluster-fix-restyling-bug branch January 24, 2022 06:22
keiya01 added a commit that referenced this pull request Apr 25, 2023
* feat: setup timeline buitlin widget

* fix: enable singleOnly flag

* fix: improve description

* Update pkg/builtin/manifest_ja.yml

Co-authored-by: rot1024 <[email protected]>

Co-authored-by: rot1024 <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants