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

Suggestion: Map functionality #454

Open
stcoats opened this issue Sep 4, 2023 · 0 comments
Open

Suggestion: Map functionality #454

stcoats opened this issue Sep 4, 2023 · 0 comments

Comments

@stcoats
Copy link

stcoats commented Sep 4, 2023

The corpus frontend is fantastic and I am enjoying learning about how to configure and customize it.

The corpus I am working on now has geo information: Each document as latitude-longitude coordinates.

Would it be possible to add a "map" page/tab?

image

It seems like it would be relatively simple to call a map from Leaflet.js and map the hits, or better, map the relative frequency per document location and create a heatmap based on that.

The javascript examples show how to customize the "docs" page in order to show vocabulary growth or type-token ratio etc. for a single document, but for a map, I would like to take into account the relative frequencies in all of the documents and/or the specific documents that have been accessed using the filter functions.

Any thoughts on how this could be done?

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

1 participant