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

As a Dataverse installation admin or user, I'd like to know which and how many repositories are based in a location #81

Open
jggautier opened this issue Sep 14, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@jggautier
Copy link
Contributor

jggautier commented Sep 14, 2020

When markers on the current Dataverse installations map are too close together, the overlapping can make it look like there's only one marker:

Screen Shot 2020-09-14 at 10 39 53 AM

It looks like there are five markers in Brazil, but there are six. We don't see and can't click on the sixth until we zoom in:

Screen Shot 2020-09-14 at 11 21 40 AM

The administrator of a Dataverse installation in Brazil thought the installation wasn't on the map because its marker was hidden behind another marker. This is probably already the case in areas with more markers, like western Europe.

Hidden markers will make it harder for people to find installations in locations with lots of markers. And as more markers are added and hidden, the map will become less of an indication of the growing number of Dataverse installations.

One solution for this using the current map are animated marker clusters. Leaflet has a customizable plugin at https://github.com/Leaflet/Leaflet.markercluster and links to an example at https://leaflet.github.io/Leaflet.markercluster/example/marker-clustering-realworld.388.html.

Other solutions might involve using a list or table of installations that people can navigate to find installations in an area or find a particular installation.

@jggautier jggautier added the enhancement New feature or request label Sep 14, 2020
@pdurbin
Copy link
Member

pdurbin commented Sep 14, 2020

I definitely agree this is a problem.

One solution for this using the current map are animated marker clusters.

Thanks to @poikilotherm we had marker clusters when pull request #20 was merged but it was ultimately reverted. Some screenshots from back then:

Screen Shot 2020-09-14 at 1 55 07 PM

Other solutions might involve using a list or table of installations that people can navigate to find installations in an area or find a particular installation.

A list/table already exists at https://dataverse.org/installations and here's a screenshot:

Screen Shot 2020-09-14 at 1 53 29 PM

@poikilotherm
Copy link
Contributor

IIRC it was rejected because you wanted the markers to more visually indicate installation locations. We could simply size down the cluster radius to just fix cases where things overlap. IIRC the colors should be adjustable, too.

@TaniaSchlatter
Copy link
Member

TaniaSchlatter commented Sep 15, 2020

@poikilotherm you remember correctly. There are issues with the animated markers, like no visual indication of the area covered by the clustered marker. When that is combined with overlay on a map, locations were really inaccurate. That may not be a problem on maps that are more local, but it was not great on our global map. I'm interested in other examples.

@TaniaSchlatter
Copy link
Member

This is a nice model of a more useful map, and includes filters: https://solve.mit.edu/events-map

@pdurbin
Copy link
Member

pdurbin commented Oct 15, 2023

In 49a6f86 I added a simple table at that lists installations by country: https://iqss.github.io/dataverse-installations/bycountry.html

It's by no means a complete solution to this issue but it's something.

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
None yet
Development

No branches or pull requests

4 participants