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

[Roadmap] Road to v1! #259

Open
JamesLMilner opened this issue Jun 2, 2024 · 0 comments
Open

[Roadmap] Road to v1! #259

JamesLMilner opened this issue Jun 2, 2024 · 0 comments
Labels
in progress Feature is currently being worked on

Comments

@JamesLMilner
Copy link
Owner

JamesLMilner commented Jun 2, 2024

Firstly, hello anyone reading or following the repository. It's come to my mind that Terra Draw will be two years old in July, and we are still tagged in Alpha. Although this a very deliberate decision, to allow quick iteration and avoidance of the limitations of attempting to adhere to semantic versioning, I am conscious that it is realistically going to be putting people off using the library.

As such I'd want to lay out a roadmap to what a v1 iteration would look like. For me there are three main issues:

  1. Allowing validations across both drawing and selecting modes (essentially feat: add validate to all built in modes #256 as we have validation in select mode already). I personally feel like the validations provide an open ended mechanism for people to allow or prevent drawing or editing of any shape in any way they see fit. We could also expose common validations that the community uses in the future.

  2. Providing at least the foundations of a standardised approach to how we handle Web Mercator vs Globe based drawing. I am still working out how might be best to approach this, either at a global level (i.e. you pass a flag to Terra Draw, and then all operations will be geodesic) or if it should be more granular (i.e. a flag we pass at the mode level). There are lots of things to consider here, as an example someone may want to draw on a Web Mercator map but draw a geodesic line (i.e. via TerraDrawGreatCircle mode). Another example of such trickiness would be what the default behaviour should be - in TerraDrawCircleMode geodesic and Web Mercator circles would result in very different looking geometries when projected back and forth, which is confusing to some users (i.e. at the moment we have a geodesic circle by default, but perhaps some users expect it to be a perfect Web Mercator circle?). This issue is mostly capture by Support geodesic drawing (i.e globes) #23 but it needs fleshing out a little bit to capture the full scope.

  3. Trying to bullet proofing what already exists. Essentially we want to make sure Terra Draw is as bug free and painless to use as possible. Of course, an incredibly tough endeavour, but with a combination of working on the unit and end-to-end testing and the user documentation, I am confident we can get to a good position.

@JamesLMilner JamesLMilner pinned this issue Jun 2, 2024
@JamesLMilner JamesLMilner added the in progress Feature is currently being worked on label Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress Feature is currently being worked on
Projects
None yet
Development

No branches or pull requests

1 participant