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

Fix map restrictions overlaying issue #359

Open
DeeTheDev opened this issue Jan 17, 2023 · 2 comments
Open

Fix map restrictions overlaying issue #359

DeeTheDev opened this issue Jan 17, 2023 · 2 comments
Labels
backend Involves changes to the backend API bug Something isn't working webapp Public frontend changes
Milestone

Comments

@DeeTheDev
Copy link
Collaborator

Sometimes there are restrictions overlaying others (usually smaller restrictions - image below). The issues is that some restrictions are loaded above others without order and a member is unable to click on the inner-most restriction layer.

Possible solutions is to order the restriction layers in the backend from largest to smallest in layer area. Then, the frontend can load the smallest layers on top of the larger layers, making it clickable.

Map overlaid content example

image

@DeeTheDev DeeTheDev added bug Something isn't working backend Involves changes to the backend API webapp Public frontend changes labels Jan 17, 2023
@rgalanakis rgalanakis added this to the Food 2023 Support 5 milestone Aug 17, 2023
@rgalanakis
Copy link
Member

@DeeTheDev can you check if this is fixed in #498 ?

@DeeTheDev
Copy link
Collaborator Author

@rgalanakis It did NOT fix it.

Good example of what we want to see:

The inner-most smallest polygon is "in front" of the larger layer. There are occasions where it is the opposite and that's were the problem lies.
Screenshot 2023-09-06 at 12 22 02 PM
Screenshot 2023-09-06 at 12 22 39 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Involves changes to the backend API bug Something isn't working webapp Public frontend changes
Projects
None yet
Development

No branches or pull requests

2 participants