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

URI parameters #18

Closed
Istador opened this issue Sep 9, 2019 · 0 comments
Closed

URI parameters #18

Istador opened this issue Sep 9, 2019 · 0 comments
Assignees
Labels
critical This is important enhancement New feature or request ux This affects how something is interacted with
Milestone

Comments

@Istador
Copy link
Owner

Istador commented Sep 9, 2019

It should be possible to link to specific markers by using their ID, e.g. with #id=123. The popup of the marker should open and the marker should be centered and zoomed in on. The popup should offer a permanent link button as well as changing the site's history when opening and closing.

Highlighting a specific coordinate pair (drawing a circle around it, center it and zoom in) should also be possible, e.g. #x=200&z=-345&zoom=4.

Linking to a specific layer selection might also be useful, e.g. #layers=entrance.vault,unique.idea (but should not be saved unless the user changes the selection manually).

The site might need to be able to react to manual changes to the hash portion of the URI by the user, by opening up popups, (de-)highlight coordinates and pan/zoom/center around.


This might be very useful for other websites (e.g. the Pine Wiki) or users that want to point to specific POIs or coordinates within the game.

@Istador Istador added enhancement New feature or request ux This affects how something is interacted with labels Sep 9, 2019
@Istador Istador added this to the Pine Release milestone Sep 12, 2019
@Istador Istador added the critical This is important label Oct 3, 2019
@Istador Istador self-assigned this Oct 5, 2019
@Istador Istador closed this as completed in 2690c46 Oct 6, 2019
Istador added a commit that referenced this issue Oct 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical This is important enhancement New feature or request ux This affects how something is interacted with
Projects
None yet
Development

No branches or pull requests

1 participant