sul-dlss / earthworks

Geospatial discovery application for Stanford University Libraries.
https://earthworks.stanford.edu
Other
21 stars 3 forks source link

Explore IIIF handling in code snippets #1102

Open hudajkhan opened 1 month ago

hudajkhan commented 1 month ago

Right now, our code samples rely on Python, Leaflet, and R to use the WMS or WFS services to obtain layer info for a raster (WMS only) or a vector dataset. Based on earlier discussions with @mapninja and @kimdurante, we will want to provide code samples that incorporate IIIF view for specific examples, such as items that fall under the resource class for images or for maps that are not datasets. We determined we need to have further discussion to work through the logic and/or understand possible implementation strategies.

I am creating this issue so we can keep track of this part of the discussion.

marlo-longley commented 1 month ago

Blocked by #1125 Deciding that this is an extra -- if we don't get to it this WC that is OK.

marlo-longley commented 3 weeks ago

Idea: if the page is showing the IIIF viewer, then we know to show this. Would this logic work?