digital-land / technical-documentation

Technical Documentation for the planning data service.
https://digital-land.github.io/technical-documentation/index.html
0 stars 0 forks source link

Bug: OS Base Layer not showing when zoomed out #137

Closed Ben-Hodgkiss closed 2 weeks ago

Ben-Hodgkiss commented 2 weeks ago

Overview

On 28/10/2024, it was noticed that the base layer of the Planning Data Map did not display if the zoom level was beyond 6. If zoomed in, the OS map did show but then disappeared after zooming out again. @GeorgeGoodall-GovUk fixed some opacity values that were causing map errors in the console, however the issue has persisted, prompting a more detailed investigation to begin.

Tech Approach

Acceptance Criteria/Tests

Resourcing Requires potential front and back-end resource.

ssadhu-sl commented 2 weeks ago

@GeorgeGoodall-GovUk is adding a fix where by default the map will be loaded at the working zoom level. This is a temporary fix and this might need to be investigated further on what is causing the issue.

GeorgeGoodall-GovUk commented 2 weeks ago

https://github.com/digital-land/digital-land.info/pull/314 PR created to change the min zoom level. all works fine now. slightly more zoomed in by default but not by much happy to investigate the reasons behind this further but a request for that work will need to go through @CharliePatterson