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

Map keys to readable strings for public viewing? #124

Closed
Flohhhhh opened this issue Jan 19, 2023 · 2 comments
Closed

Map keys to readable strings for public viewing? #124

Flohhhhh opened this issue Jan 19, 2023 · 2 comments

Comments

@Flohhhhh
Copy link
Contributor

Flohhhhh commented Jan 19, 2023

In the "more information" section in the feature panel, it might be nice to map the key names to more readable content (and also hide irrelevant information) for the public and add an "advanced view" or "view details" button for developer to view the plain JSON.

Before:
image

After:

Adress: Main Street 21, Oceanport
County: Monmouth County

View Keys
@Flohhhhh
Copy link
Contributor Author

On second thought, I think this may be a duplicate of #116

@zbycz
Copy link
Owner

zbycz commented Jan 20, 2023

Yes that is correct #116 aim to solve it once for all. Because unfortunately this is very difficult problem in OSM world - any object can have many physical things attached to it, and its hard to say which one is more important, where you want to display fields with icons, etc.. luckily the id-preset project should solve this.

I would also love to display address on every datail panel, but we would have to fetch these from some other API (eg maptiler geocoding). So this needs more thinking through. Only few points have amenity and address point attached at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants