bplmaps / blacklight-allmaps

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

Support for multi-sheet annotations #38

Closed ewlarson closed 5 months ago

ewlarson commented 5 months ago

How does the @allmaps/leaflet plugin handle multiple sheets?

Tourist map of Norway: http://localhost:3000/catalog/p16022coll230:360

Allmaps: https://viewer.allmaps.org/?url=https%3A%2F%2Fannotations.allmaps.org%2Fmanifests%2F2608330288df8f58

ewlarson commented 5 months ago

Eliot georeferenced the second inset map in our Norway example and currently the code DOES add multiple warped maps onto the viewer:

Before (1 map georeferenced)

Screenshot 2024-04-03 at 5 15 36 PM

After (2 maps georeferenced)

Screenshot 2024-04-17 at 1 33 02 PM

ewlarson commented 5 months ago

Closing, as multi-sheets are supported out-of-the-box by Allmaps' Leaflet WarpedMapLayer (see the above example).

ewlarson commented 5 months ago

Really good example of multi-sheet display: https://geo.btaa.org/catalog/dd07aa40-974b-4ead-9c23-53e37c40ad99