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

Feature request: Open the map view for a record when clicking on the globe in the occurrence overlay #277

Open
mpitblado opened this issue Dec 4, 2023 · 2 comments

Comments

@mpitblado
Copy link

It would be nice if clicking on the globe icon in the occurrence overlay opened up a map view for that entity. This could be a simple call to the api to reload the same page but appending &view=MAP to the end of the url and replacing a search query with a unique ID. I have it working with the Occurence ID, but something similar would also likely be possible with any unique identifier (GBIF ID etc), as some occurrence records may not have a GUID like field.

Clicking on:

image

Would load the map view via a call that looks like this /specimen/search?occurrenceId=F9210E4D-35FF-FB40-9799-E35E27F3C6E0&view=MAP (/specimen may be /occurrence for other instances)

image

@MortenHofft
Copy link
Member

I'd rather extend the occurrence view with richer content. As it is now it is largely a stub without important features such as a map, video and audio, iiif links.

Especially since we will need occurrences pages on a url of their own.

Does that make sense please?

@mpitblado
Copy link
Author

Yes that sounds great, especially having occurrence pages being accessible through a dedicated url. Having the map/audio/video integrated within the occurrence view itself sounds fantastic

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