dlr-eoc / ukis-frontend-libraries

A collection of angular ui-components, services, interfaces... to help you create geospatial mapping applications for the web.
Apache License 2.0
17 stars 4 forks source link

fix: use background from style when creating vector tile layers #174

Closed boeckMt closed 1 year ago

boeckMt commented 1 year ago

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

What is the current behavior?

On creation of vector tile layers with ol-mapbox-style, applyBackground() was not called to set the background color of the style.

What is the new behavior?

The background color is now applied to the new layer applyBackground(newlayer, style).

Does this PR introduce a breaking change?

Other information

Is it part of one/more packages and which?