digirati-co-uk / iiif-manifest-editor

Create new IIIF Manifests. Modify existing manifests. Tell stories with IIIF.
https://manifest-editor.digirati.services/
MIT License
29 stars 3 forks source link

navPlace Map should "Zoom to Layer" when a loaded manifest contains navPlace. #274

Open mapninja opened 1 month ago

mapninja commented 1 month ago

It can be difficult to see the navPlace featureCollection in the Leaflet Map, when a manifest with a navPlace element is loaded, since the map default extent is Zoom=0.

It would be helpful if the map defaulted to the bounds of the featureCollection when valid navPlace is present. fitBounds()