Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

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
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.

@RyanTG
Copy link
Contributor Author

RyanTG commented Aug 26, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants