Skip to content

OpenLayers print for vector layers #2637

@mbarto

Description

@mbarto

Description

OpenLayers print for vector layers has some issues:

  • features are not correctly styled in preview: e.g. blue becomes green
  • mapfish json style is not correct:

leaflet version (works):

"fillColor": "rgb(0, 0, 255)",
"fillOpacity": 0.1,
"pointRadius": 10,
"strokeColor": "rgb(0, 0, 255)",
"strokeOpacity": 1,
"strokeWidth": 3

ol version (does not work):

"fillColor": "rgba(0, 0, 255, 0.1)",
"fillOpacity": 0.1,
"pointRadius": 10,
"strokeColor": "rgba(0, 0, 255, 1)",
"strokeOpacity": 1,
"strokeWidth": 3

Example: LOWS_procedures_poly.zip

In case of Bug (otherwise remove this paragraph)

Browser Affected
(use this site: https://www.whatsmybrowser.org/ for non expert users)

  • Internet Explorer
  • Chrome
  • Firefox
  • Safari

Browser Version Affected

  • Indicate the browser version in which the issue has been found

Steps to reproduce

  • A list of steps to reproduce the bug
  • ...

Expected Result

  • Describe here the expected result

Current Result

  • Describe here the current behavior

Other useful information (optional):

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions