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

New implementation to jump the initial map view for planter/orgs #75

Open
dadiorchen opened this issue Feb 5, 2022 · 0 comments
Open

Comments

@dadiorchen
Copy link
Collaborator

When we open the map for a single planter or org, we need to calculate the initial bounds/map view for the first jump, the previous algorithm is fetching the cluster from API and calculate the view at client side, now we are trying to use a new API to do it: prerequisite: Greenstand/treetracker-query-api#79

So with this API, we simply request the bounds by filter, then manipulate the leaflet to jump to the bounds.


Some hints:

  • Please read our readme for more information/guide/tutorial.
  • Here is an engineering book in Greenstand.
  • To know more about our organization, visit our website.
  • If you want to join the slack community (some resources need the community member's permission), please leave your email address.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: No status
Status: No status
Development

No branches or pull requests

1 participant