Skip to content

Commit b0b2cb7

Browse files
resolve conflicts (#12252)
Co-authored-by: Stefano Cudini <stefano.cudini@gmail.com>
1 parent d9f6db2 commit b0b2cb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/client/components/map/openlayers/plugins/FlatGeobufLayer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ const getFlatGeobufStyle = (layer, options, map) => {
4949

5050
const createLoader = (source, options, strategy) => (extent, resolution, projection) => {
5151
getFlatGeobufOl().then(flatgeobuf => {
52-
const { headers } = getRequestConfigurationByUrl(options.url, options?.security?.sourceId);
53-
const secureUrl = updateUrlParams(options.url, options.params);
52+
const { headers, params } = getRequestConfigurationByUrl(options.url, options?.security?.sourceId);
53+
const secureUrl = updateUrlParams(options.url, params);
5454
const loader = flatgeobuf.createLoader(source, secureUrl, 'EPSG:4326', strategy, true, headers);
5555
source.setLoader(loader);
5656
loader(extent, resolution, projection); // force load at creation(needed for flatgeobuf only)

0 commit comments

Comments
 (0)