diff --git a/geoportal/geoportailv3_geoportal/static-ngeo/js/apps/MainController.js b/geoportal/geoportailv3_geoportal/static-ngeo/js/apps/MainController.js index 98dbfbcf5..7a5f4dc70 100644 --- a/geoportal/geoportailv3_geoportal/static-ngeo/js/apps/MainController.js +++ b/geoportal/geoportailv3_geoportal/static-ngeo/js/apps/MainController.js @@ -767,6 +767,7 @@ const MainController = function( this.mapStore_ = useMapStore() this.styleStore_ = useStyleStore() this.styleService_ = useMvtStyles() + this.styleService_.setRegisterUrl_v3({ get: getvtstyleUrl, upload: uploadvtstyleUrl, @@ -774,6 +775,8 @@ const MainController = function( vectortiles: vectortilesUrl }) + this.styleService_.initBackgroundsConfigs() + /** * @type {app.draw.DrawnFeatures} * @private diff --git a/geoportal/package.json b/geoportal/package.json index db466139a..77f5e3417 100644 --- a/geoportal/package.json +++ b/geoportal/package.json @@ -14,7 +14,7 @@ "url": "https://github.com/Geoportail-Luxembourg/geoportailv3/issues" }, "devDependencies": { - "luxembourg-geoportail": "https://github.com/Geoportail-Luxembourg/luxembourg-geoportail.git#cb91777d4dbd51bbe82d5d271e29a4583c1e7c35", + "luxembourg-geoportail": "https://github.com/Geoportail-Luxembourg/luxembourg-geoportail.git#ed3d13c8637ac3abc611864033d0c6a3b4586b12", "@babel/core": "7.16.0", "@babel/plugin-proposal-class-properties": "7.16.0", "@babel/plugin-proposal-decorators": "7.16.0",