Skip to content

OpenLayers WMS requests are, by default, 1.5 times bigger than the current screen size #2741

@mbarto

Description

@mbarto

Description

OpenLayers WMS requests are, by default, 1.5 times bigger than the current screen size.
We should configure the default to 1 and allow overriding it from configuration.

Steps to reproduce

  • A list of steps to reproduce the bug
  • Configure a WMS layer as "Single Tile"
  • using Chrome DevTools look at GetMap requests width and height
  • a 1.5 ratio is used (leaflet does not do that)

Expected Result

  • The requested image is as big as the browser window, not bigger

Current Result

  • The requested image is 1.5 times as big as the browser window

Other useful information (optional):

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions