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

Handle normal manifests #19

Closed BeebBenjamin closed 1 year ago

BeebBenjamin commented 1 year ago

In the case where there are no map types detected in the manifest, we should hide the TorchLight control, because at the moment the button dissappears in error.

BeebBenjamin commented 1 year ago

The plug-in currently mounts before the iiifImageResources property is available, therefore a logical check cannot be done because it would return a false negative. I need to find a way to check when iiifImageResouces become available but cannot use componentWillMount event to do this.