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

Permalinks for individual boxes #16

Open
RyanTG opened this issue Aug 17, 2020 · 3 comments
Open

Permalinks for individual boxes #16

RyanTG opened this issue Aug 17, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@RyanTG
Copy link
Contributor

RyanTG commented Aug 17, 2020

Such as: http://spot-the-box.us/#{Outlet_ID}

I'm just thinking of a use case where someone says, "can anyone verify if this box is still there?" with a link to that box on the map. When visited, the map zooms to that box (and perhaps open the Popup).

And users would need a way to discover the permalink. I think the most appropriate place would be within the Popup.

@RyanTG RyanTG changed the title Permalinks for Permalinks for individual boxes Aug 17, 2020
@russbiggs russbiggs added the enhancement New feature or request label Aug 17, 2020
@ranatalus ranatalus added this to To do in Spot the Box v1.1 Aug 17, 2020
@ranatalus
Copy link
Collaborator

ranatalus commented Aug 26, 2020

Each box should have a unique identifier assigned (random or procedural) that can be easily shared with others. Within the popup for a given mailbox, a text box showing the permalink URL for that specific box should be displayed (likely at the bottom, below the "save" button.

"Share" button functionality noted in separate issue: #31

@russbiggs
Copy link
Owner

We already have a unique ID which is the outlet ID, currently this is displayed when clicking on a collection box (both surveyed and unsurveyed). After digging into this feature a bit though it is a little more complicated than initially expected due to the way vector tiles work. We would likely need a backend solution to query a feature. Not completely out of the question for now but we have the lat/lng URL hash now that sort of solves this issue.

@ranatalus ranatalus added this to To do in Spot the Box v1.2 via automation Aug 26, 2020
@ranatalus ranatalus removed this from To do in Spot the Box v1.1 Aug 26, 2020
@ranatalus ranatalus moved this from To do to Research needed in Spot the Box v1.2 Aug 26, 2020
@RyanTG
Copy link
Contributor Author

RyanTG commented Aug 26, 2020

I agree that the lat/lng URL hash gets the job done.

@russbiggs russbiggs removed this from Research needed in Spot the Box v1.2 Sep 2, 2020
@ranatalus ranatalus added this to To do in Spot the Box v1.3 Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

3 participants