DEFRA / bwq-signage

Bathing water quality signage service
Other
1 stars 3 forks source link

Maps - display changed between preview and PDF #97

Closed tamsinappleton closed 6 years ago

tamsinappleton commented 6 years ago

Maps (Lowestoft north of Clairmont pier) tested - map on PDF is more zoomed in on PDF than it appears on the preview page.

The preview page is the correct display.

ijdickinson commented 6 years ago

@tamsinappleton Should be working now

tamsinappleton commented 6 years ago

Checked in IE and chrome, seem fine.

tamsinappleton commented 6 years ago

Seems to be back again! Only for A4 versions, the maps appear to be more zoomed in on the PDF version that the preview. The A3 versions seems to print as displayed on the preview. Same on IE and Chrome.

Tested Studland Knoll House.

ijdickinson commented 6 years ago

@tamsinappleton The zoom level is the same, the difference is that the bounding box is a different size so more of the map is showing in the preview. In both cases, preview and pdf, the centre-point is the sampling point, the zoom level is the same, and we show as much of the surrounding area as we can given the constraints of the poster.

I've picked a zoom-level that gives a reasonable balance between detail and extent. We could change the zoom (for all maps) to show more of the area, but at correspondingly less detail.

tamsinappleton commented 6 years ago

@ijdickinson It was more about trying to give the user in the preview what they got on the PDF version, I think what actually appears on the PDF is fine, its just in portrait mode PDF it's more zoomed in that it appears to be from the preview (both IE and Chrome).

It's not of major importance if a problem - we'll see if it's an issue through feedback.

ijdickinson commented 6 years ago

OK, let's close for now and re-open if we get pushback.