Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Tick View #74

Open
9 tasks
zhenyanghua opened this issue Jan 11, 2021 · 0 comments · May be fixed by #80
Open
9 tasks

Create a Tick View #74

zhenyanghua opened this issue Jan 11, 2021 · 0 comments · May be fixed by #80

Comments

@zhenyanghua
Copy link
Owner

zhenyanghua commented Jan 11, 2021

Step 1 - Simple ticks, with equal interval and style, use circle for now.

  • a new geometry getter method could return a list of ticks
    • each zoom level should have its own tick unit length.
zoom tick unit (m) tick unit (mi)
1 200,000 200
2 100,000 100
3 50,000 50
... ... ...
n 200,000/2^(n-1) 200/2^(n-1)
  • The tick group should rejoin and update the data when:
    • A node add/remove/drag, line drag events happens.
    • The unit system changes.

Step 2 - Ticks with marker

  • replace circle with marker
  • setup the orientation for marker

Step 3 - Add ticks label based on rules.

  • Update ticks data structure to include additional properties
  • Add tick labels
@zhenyanghua zhenyanghua self-assigned this Jan 11, 2021
@zhenyanghua zhenyanghua linked a pull request Jan 13, 2021 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant