Brown-University-Library / OLD-ARCHIVED_iip-production

3 stars 9 forks source link

Figure out what we are doing with MapBox and if there is a better option #121

Open emylonas opened 3 years ago

emylonas commented 3 years ago

Currently, the search page map view is being handled by MapBox. We no longer have the account information for it, as it was made by students in 2017. Recently the search page stopped working because the MapBox permissions changed, and we couldn't access certain map tiles. This was fixed by loading a different map background. We need to figure out what we are using it for exactly, and if it remains a good option. We also should make sure that we are in possession of the map overlays that are used. We added those to the map feature. Steps in the process may be to

  1. look over the code that generates this
  2. Go to MapBox and learn more about it
  3. Talk to Frank Doherty who can provide more information on tools like this. Mapbox is used not only to display where inscriptions are found and how many are from each location, but to provide interactivity: clicking on a location on the map is like performing a search for that location.
atbradley commented 3 years ago

As far as I can tell, we're only using Mapbox as a tile server and the interactivity in the map is done on our side using Leaflet. We should be able to replace their tiles with someone else's.

zeichman commented 3 years ago

Adding a note: presently, there is only a pin on the area where the map should be if there is a Pleiades ID. If geocoordinates are listed instead, there is no pin.