bplmaps / blacklight-allmaps

Source code of Allmaps plugins for Blacklight/GeoBlacklight software.
Apache License 2.0
1 stars 0 forks source link

Seeing IIIF Viewer and Georeference Viewer at the same time for some records #28

Closed srappel closed 6 months ago

srappel commented 6 months ago

test fixture harvard-g4124-m2-1855-m3 not affected, but these from UMN are in AGSL GeoDiscovery:

p16022coll230:1933

p16022coll230:360

p16022coll230:4038

Example: Screenshot 2024-03-29 at 08-44-13 1929 Illinois motor trails are calling - AGSL GeoDiscovery

ewlarson commented 6 months ago

Looks like a Javascript issue. I'll add these items to our test fixtures and troubleshoot.

ewlarson commented 6 months ago

@srappel // GBL's default IIIF item viewer overwrites the classes on the item viewer div. Wrapping GBL's item viewer in another wrapper div resolved this issue. Fix will be in v0.1.1.

The funny upstream behavior is here: https://github.com/geoblacklight/geoblacklight/blob/83b90c5a3686ab4d3307adf1635124a3da6f1c1f/app/assets/javascripts/geoblacklight/viewers/iiif.js#L23