bodleian / archiox-mirador-plugin

An experimental plugin to display depth information captured with Lucida or Selene scanners from FactumARTE. However, the plug-in can present any normal map/albedo map combination produced from any technique.
MIT License
1 stars 0 forks source link

Change service index #30

Closed BeebBenjamin closed 2 years ago

BeebBenjamin commented 2 years ago

Made getMap more resilient, by looking for ImageService rather than using the index. Supports v2 and v3 images. Also anticipates a swap from http://iiif.io/api/annex/services/lightingmap to http://iiif.io/api/extension/lightingmap planned for iiif in the future. Added a protection to the render() function to prevent getMap being called every render cycle.